Added local timeline pagination

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-04 15:25:14 +05:30
parent 38cbb87a62
commit 25b7093302
3 changed files with 92 additions and 25 deletions

View file

@ -91,8 +91,10 @@ class RoomTimeline extends EventEmitter {
clearLocalTimelines() {
this.timeline = [];
this.reactionTimeline.clear();
this.editedTimeline.clear();
// TODO: don't clear these timeline cause there data can be used in other timeline
// this.reactionTimeline.clear();
// this.editedTimeline.clear();
}
addToTimeline(mEvent) {