Fix spaces notification dots wrongly including upgraded (hidden) rooms
parent
5b8cd10ee5
commit
ec0612f70d
|
@ -389,8 +389,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
||||||
|
|
||||||
this.spaceFilteredRooms.forEach((roomIds, s) => {
|
this.spaceFilteredRooms.forEach((roomIds, s) => {
|
||||||
// Update NotificationStates
|
// Update NotificationStates
|
||||||
const rooms = this.matrixClient.getRooms().filter(room => roomIds.has(room.roomId));
|
this.getNotificationState(s)?.setRooms(visibleRooms.filter(room => roomIds.has(room.roomId)));
|
||||||
this.getNotificationState(s)?.setRooms(rooms);
|
|
||||||
});
|
});
|
||||||
}, 100, {trailing: true, leading: true});
|
}, 100, {trailing: true, leading: true});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue