Remove missed area for notification state fetching
This commit is contained in:
parent
dd16ec070c
commit
507fa01ade
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ export default class RoomList extends React.Component<IProps, IState> {
|
||||||
if (unread) {
|
if (unread) {
|
||||||
// filter to only notification rooms (and our current active room so we can index properly)
|
// filter to only notification rooms (and our current active room so we can index properly)
|
||||||
listRooms = listRooms.filter(r => {
|
listRooms = listRooms.filter(r => {
|
||||||
const state = RoomNotificationStateStore.instance.getRoomState(r, t);
|
const state = RoomNotificationStateStore.instance.getRoomState(r);
|
||||||
return state.room.roomId === roomId || state.isUnread;
|
return state.room.roomId === roomId || state.isUnread;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue