mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 17:01:49 +02:00
Handle indication from server that a room has no more tags
This commit is contained in:
parent
8d0d0b43ff
commit
dd0e981d72
@ -153,6 +153,10 @@ class RoomListStore extends Store {
|
|||||||
newLists[tagName].push(updatedRoom);
|
newLists[tagName].push(updatedRoom);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (roomTags.length === 0) {
|
||||||
|
newLists['im.vector.fake.recent'].unshift(updatedRoom);
|
||||||
|
}
|
||||||
|
|
||||||
this._setState({
|
this._setState({
|
||||||
lists: newLists,
|
lists: newLists,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user