mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
Added local timeline pagination
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
38cbb87a62
commit
25b7093302
3 changed files with 92 additions and 25 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue