don't clobber the initial room to roomdirectory

pull/21833/head
Matthew Hodgson 2015-11-15 03:58:05 +00:00
parent 999bb9a206
commit 152872b342
1 changed files with 3 additions and 1 deletions

View File

@ -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;