don't clobber the initial room to roomdirectory

This commit is contained in:
Matthew Hodgson 2015-11-15 03:58:05 +00:00
parent 999bb9a206
commit 152872b342

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;