Remove potential source of room duplication issues

This is an estimated fix as the problem cannot be easily identified. We don't appear to need these lines, unlike what the comment implies.
pull/21833/head
Travis Ralston 2020-07-14 12:40:48 -06:00
parent 225c31e043
commit d74e803fa9
1 changed files with 0 additions and 5 deletions

View File

@ -711,11 +711,6 @@ export class Algorithm extends EventEmitter {
if (!algorithm) throw new Error(`No algorithm for ${rmTag}`);
await algorithm.handleRoomUpdate(room, RoomUpdateCause.RoomRemoved);
this.cachedRooms[rmTag] = algorithm.orderedRooms;
// Later on we won't update the filtered rooms or sticky room for removed
// tags, so do so now.
this.recalculateFilteredRoomsForTag(rmTag);
this.recalculateStickyRoom(rmTag);
}
for (const addTag of diff.added) {
if (!window.mx_QuietRoomListLogging) {