From 8547d00f32b14af6be7be118e3e2eb1f8ed2c739 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 24 Nov 2016 16:39:48 +0000 Subject: [PATCH] Don't default the page_type to room directory As it breaks the behaviour of redirecting to /#/directory --- 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 7fa7c9f152..2a31850f68 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -76,7 +76,7 @@ module.exports = React.createClass({ screen: undefined, // What the LoggedInView would be showing if visible - page_type: PageTypes.RoomDirectory, + page_type: null, // If we are viewing a room by alias, this contains the alias currentRoomAlias: null,