diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 784526b09b..755109c5de 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -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({