1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-04 05:02:41 +03:00

Add thread relation to sticker message (#2147)

This commit is contained in:
Germain
2022-02-01 10:36:04 +00:00
committed by GitHub
parent 66b98844a2
commit 51f3fac87b
2 changed files with 13 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
"Room.timelineReset",
]);
opts?.initialEvents.forEach(event => this.addEvent(event));
opts?.initialEvents?.forEach(event => this.addEvent(event));
this.room.on("Room.localEchoUpdated", this.onEcho);
this.room.on("Room.timeline", this.onEcho);