When no member, use `null` `roomId`

pull/21833/head
Luke Barnard 2017-08-10 15:23:14 +01:00
parent 07633fe67f
commit 89254e77f4
1 changed files with 1 additions and 1 deletions

View File

@ -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({