From 152872b3423ff00f37994699e8fc2b857f4ba78a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 15 Nov 2015 03:58:05 +0000 Subject: [PATCH] don't clobber the initial room to roomdirectory --- src/controllers/pages/MatrixChat.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controllers/pages/MatrixChat.js b/src/controllers/pages/MatrixChat.js index 2992d0fe3e..4990a9488a 100644 --- a/src/controllers/pages/MatrixChat.js +++ b/src/controllers/pages/MatrixChat.js @@ -48,7 +48,9 @@ module.exports = { if (MatrixClientPeg.get().getRooms().length) { s.page_type = this.PageTypes.RoomView; } else { - s.page_type = this.PageTypes.RoomDirectory; + // we don't need to default to the directoy here + // as we'll go there anyway after syncing + // s.page_type = this.PageTypes.RoomDirectory; } } return s;