You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
When no member, use null roomId
This commit is contained in:
@@ -1234,7 +1234,7 @@ module.exports = React.createClass({
|
||||
});
|
||||
} else {
|
||||
// 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);
|
||||
}
|
||||
dis.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user