From 507fa01ade0e0a7a5e0ad36cfb73a236f319bebc Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 21 Jul 2020 20:51:40 -0600 Subject: [PATCH] Remove missed area for notification state fetching --- src/components/views/rooms/RoomList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomList.tsx b/src/components/views/rooms/RoomList.tsx index 33c844e955..628bc41e60 100644 --- a/src/components/views/rooms/RoomList.tsx +++ b/src/components/views/rooms/RoomList.tsx @@ -210,7 +210,7 @@ export default class RoomList extends React.Component { 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; }); }