Recognise server notices room(s)

and put them in their own section at the bottom
This commit is contained in:
David Baker 2018-08-06 18:00:40 +01:00
parent eb47abc055
commit b5ce1ac5e1
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": [],