Bugs fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
ba629f1764
commit
5d380453a4
1 changed files with 3 additions and 5 deletions
|
@ -608,11 +608,9 @@ function RoomViewContent({ eventId, roomTimeline }) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!unreadDivider) {
|
||||
unreadDivider = (readEvent
|
||||
unreadDivider = (readEvent && !unreadDivider
|
||||
&& prevMEvent?.getTs() <= readEvent.getTs()
|
||||
&& readEvent.getTs() < mEvent.getTs());
|
||||
}
|
||||
if (unreadDivider) {
|
||||
tl.push(<Divider key={`new-${mEvent.getId()}`} variant="positive" text="New messages" />);
|
||||
itemCountIndex += 1;
|
||||
|
|
Loading…
Reference in a new issue