Fix date in same day

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-08 21:52:25 +05:30
parent dde022d179
commit a70245a3b1
2 changed files with 2 additions and 5 deletions

View file

@ -90,6 +90,7 @@ class RoomTimeline extends EventEmitter {
}
canPaginateBackward() {
if (this.timeline[0].getType() === 'm.room.create') return false;
const tm = getFirstLinkedTimeline(this.activeTimeline);
return tm.getPaginationToken('b') !== null;
}