From 2aba646acd706608778d0e2c04eaf4f86ca6c6fa Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 24 Nov 2016 14:58:37 +0000 Subject: [PATCH] Clear room alias etc. on logout --- src/components/structures/MatrixChat.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 4d3ddc5634..7fa7c9f152 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -598,6 +598,9 @@ module.exports = React.createClass({ ready: false, collapse_lhs: false, collapse_rhs: false, + currentRoomAlias: null, + currentRoomId: null, + page_type: PageTypes.RoomDirectory, }); },