You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
Refactor Relations to not be per-EventTimelineSet (#2412)
* Refactor Relations to not be per-EventTimelineSet * Fix comment and relations-container init * Revert timing tweaks * Fix relations order test * Add test and simplify thread relations handling * Fix order of initialising a room object * Fix test * Re-add thread handling for relations of unloaded threads * Ditch confusing experimental getter `MatrixEvent::isThreadRelation` * Fix room handling in RelationsContainer * Iterate PR * Tweak method naming to closer match spec
This commit is contained in:
committed by
GitHub
parent
07189f0637
commit
bfed6edf41
@@ -514,13 +514,6 @@ export class MatrixEvent extends TypedEventEmitter<EmittedEvents, MatrixEventHan
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
public get isThreadRelation(): boolean {
|
||||
return !!this.threadRootId && this.threadId !== this.getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user