You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Fix issues with getEventTimeline and thread roots (#2444)
* Add additional tests for thread timelines * Fix issues around mixing up event timeline sets with /context/ API * Increase coverage * Increase coverage * Better scope assertions * Iterate PR
This commit is contained in:
committed by
GitHub
parent
2c2686c910
commit
8e896c4da3
@@ -537,7 +537,7 @@ export class MatrixEvent extends TypedEventEmitter<EmittedEvents, MatrixEventHan
|
||||
return mRelatesTo?.['m.in_reply_to']?.event_id;
|
||||
}
|
||||
|
||||
public get relationEventId(): string {
|
||||
public get relationEventId(): string | undefined {
|
||||
return this.getWireContent()
|
||||
?.["m.relates_to"]
|
||||
?.event_id;
|
||||
|
||||
Reference in New Issue
Block a user