mirror of https://github.com/vector-im/riot-web
Regenerate room lists when we get m.direct
parent
415da3e6ab
commit
9982efbd8f
|
@ -65,6 +65,11 @@ class RoomListStore extends Store {
|
|||
this._updateRoomLists(payload.room);
|
||||
}
|
||||
break;
|
||||
case 'MatrixActions.accountData': {
|
||||
if (payload.event_type !== 'm.direct') break;
|
||||
this._generateRoomLists();
|
||||
}
|
||||
break;
|
||||
case 'RoomListActions.tagRoom.pending': {
|
||||
this._updateRoomListsOptimistic(
|
||||
payload.request.room,
|
||||
|
|
Loading…
Reference in New Issue