Merge pull request #2112 from matrix-org/dbkr/recognise_server_notices_room

Recognise server notices room(s)
This commit is contained in:
David Baker 2018-08-07 09:52:25 +01:00 committed by GitHub
commit f44cc8e66e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 1 deletions

View file

@ -45,6 +45,7 @@ class RoomListStore extends Store {
// Initialise state
this._state = {
lists: {
"m.server_notice": [],
"im.vector.fake.invite": [],
"m.favourite": [],
"im.vector.fake.recent": [],
@ -158,6 +159,7 @@ class RoomListStore extends Store {
_generateRoomLists(optimisticRequest) {
const lists = {
"m.server_notice": [],
"im.vector.fake.invite": [],
"m.favourite": [],
"im.vector.fake.recent": [],