diff --git a/src/client.ts b/src/client.ts index bf546045944..bad3ad80a05 100644 --- a/src/client.ts +++ b/src/client.ts @@ -3718,7 +3718,7 @@ export class MatrixClient extends TypedEventEmitter { return ev.isThreadRelation && !ev.status; - }), + })?.getId(), }; } } @@ -3774,7 +3774,7 @@ export class MatrixClient extends TypedEventEmitter e.getId() === targetId); target.once(MatrixEventEvent.LocalEventIdReplaced, () => { localEvent.updateAssociatedId(target.getId());