From 89254e77f45998c8b701f19163934cd16ccb534c Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 10 Aug 2017 15:23:14 +0100 Subject: [PATCH] When no member, use `null` `roomId` --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({