mirror of https://github.com/vector-im/riot-web
Remove missed area for notification state fetching
parent
dd16ec070c
commit
507fa01ade
|
@ -210,7 +210,7 @@ export default class RoomList extends React.Component<IProps, IState> {
|
|||
if (unread) {
|
||||
// filter to only notification rooms (and our current active room so we can index properly)
|
||||
listRooms = listRooms.filter(r => {
|
||||
const state = RoomNotificationStateStore.instance.getRoomState(r, t);
|
||||
const state = RoomNotificationStateStore.instance.getRoomState(r);
|
||||
return state.room.roomId === roomId || state.isUnread;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue