You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Handle indication from server that a room has no more tags
This commit is contained in:
@@ -153,6 +153,10 @@ class RoomListStore extends Store {
|
||||
newLists[tagName].push(updatedRoom);
|
||||
});
|
||||
|
||||
if (roomTags.length === 0) {
|
||||
newLists['im.vector.fake.recent'].unshift(updatedRoom);
|
||||
}
|
||||
|
||||
this._setState({
|
||||
lists: newLists,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user