Don't regenerate RoomListStore state for notifs/scrollback/etc.

Only do so for the live timeline of rooms.
This commit is contained in:
Luke Barnard 2018-02-19 09:56:03 +00:00
parent 3f6c15506c
commit 32130fbc28
2 changed files with 3 additions and 0 deletions

View file

@ -71,6 +71,8 @@ function createRoomTimelineAction(matrixClient, timelineEvent, room, toStartOfTi
action: 'MatrixActions.Room.timeline',
event: timelineEvent,
isLiveEvent: data.liveEvent,
isLiveUnfilteredRoomTimelineEvent:
room && data.timeline.getTimelineSet() === room.getUnfilteredTimelineSet(),
};
}