mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Update the filtering for the right tag
This commit is contained in:
parent
f93d67fc65
commit
c047a76f1d
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ export class Algorithm extends EventEmitter {
|
|||
// a room while filtering and it'll disappear. We don't update the filter earlier in
|
||||
// this function simply because we don't have to.
|
||||
this.recalculateFilteredRoomsForTag(tag);
|
||||
if (lastStickyRoom && lastStickyRoom.tag !== tag) this.recalculateFilteredRoomsForTag(tag);
|
||||
if (lastStickyRoom && lastStickyRoom.tag !== tag) this.recalculateFilteredRoomsForTag(lastStickyRoom.tag);
|
||||
this.recalculateStickyRoom();
|
||||
|
||||
// Finally, trigger an update
|
||||
|
|
Loading…
Reference in a new issue