mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 04:07:03 +02:00
When no member, use null
roomId
This commit is contained in:
parent
07633fe67f
commit
89254e77f4
@ -1234,7 +1234,7 @@ module.exports = React.createClass({
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// This user is not a member of this room, show the user view
|
// This user is not a member of this room, show the user view
|
||||||
member = new Matrix.RoomMember(roomId, userId);
|
member = new Matrix.RoomMember(null, userId);
|
||||||
this._setPage(PageTypes.UserView);
|
this._setPage(PageTypes.UserView);
|
||||||
}
|
}
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
|
Loading…
Reference in New Issue
Block a user