diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index 5620559ad07..e8f0199c5f4 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -402,8 +402,7 @@ export class UnwrappedEventTile extends React.Component { } private setupNotificationListener = (thread: Thread): void => { - const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId()); - const notifications = RoomNotificationStateStore.instance.getThreadsRoomState(room); + const notifications = RoomNotificationStateStore.instance.getThreadsRoomState(thread.room); this.threadState = notifications.getThreadRoomState(thread);