mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Don't re-sort rooms on no-op RoomUpdateCause.PossibleTagChange (#7053)
* Don't re-sort rooms on no-op RoomUpdateCause.PossibleTagChange * Update src/stores/room-list/algorithms/Algorithm.ts Co-authored-by: Travis Ralston <travpc@gmail.com> Co-authored-by: Travis Ralston <travpc@gmail.com> Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
parent
c9619bfe48
commit
74376f989e
@ -722,7 +722,8 @@ export class Algorithm extends EventEmitter {
|
||||
cause = RoomUpdateCause.Timeline;
|
||||
didTagChange = true;
|
||||
} else {
|
||||
cause = RoomUpdateCause.Timeline;
|
||||
// This is a tag change update and no tags were changed, nothing to do!
|
||||
return false;
|
||||
}
|
||||
|
||||
if (didTagChange && isSticky) {
|
||||
|
Loading…
Reference in New Issue
Block a user