mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Retain the timeline here
This commit is contained in:
parent
2ebb22ab32
commit
f92a7d2008
@ -559,6 +559,7 @@ export class BaseRoom extends EventEmitter {
|
||||
if (this._timeline) {
|
||||
log.log({ l: "Returning existing timeline" });
|
||||
resolve();
|
||||
this._timeline.retain();
|
||||
return this._timeline;
|
||||
}
|
||||
this._timeline = new Timeline({
|
||||
|
Loading…
Reference in New Issue
Block a user