From aaefdf19c578266ccfd44f5470ac7835475148b3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 14 Jun 2016 11:57:07 +0100 Subject: [PATCH] Fix MatrixChat syntax fail --- src/components/structures/MatrixChat.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 01aa9dbda6..5dd460d74a 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -506,8 +506,8 @@ module.exports = React.createClass({ page_type: this.PageTypes.RoomView, thirdPartyInvite: thirdPartyInvite, roomOobData: oob_data, - newState.currentRoomAlias: roomAlias, - newState.currentRoomId: roomId, + currentRoomAlias: roomAlias, + currentRoomId: roomId, }; // if we aren't given an explicit event id, look for one in the @@ -1012,8 +1012,7 @@ module.exports = React.createClass({ page_element = (