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 = (