You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +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