You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-04 05:02:41 +03:00
Out of sync thread summary in main timeline (#2153)
This commit is contained in:
@@ -77,8 +77,6 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
|
||||
});
|
||||
this.reEmitter = new ReEmitter(this);
|
||||
|
||||
this.initialiseThread(this.rootEvent);
|
||||
|
||||
this.reEmitter.reEmit(this.timelineSet, [
|
||||
"Room.timeline",
|
||||
"Room.timelineReset",
|
||||
@@ -92,6 +90,7 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
|
||||
} else {
|
||||
this.id = rootEvent.getId();
|
||||
}
|
||||
this.initialiseThread(this.rootEvent);
|
||||
|
||||
opts?.initialEvents?.forEach(event => this.addEvent(event));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user