diff --git a/src/matrix/room/timeline/entries/EventEntry.js b/src/matrix/room/timeline/entries/EventEntry.js index 7b957e01..3d9c982b 100644 --- a/src/matrix/room/timeline/entries/EventEntry.js +++ b/src/matrix/room/timeline/entries/EventEntry.js @@ -124,6 +124,13 @@ export class EventEntry extends BaseEventEntry { return getRelatedEventId(this.event); } + get threadEventId() { + if (this.isThread) { + return this.relation?.event_id; + } + return null; + } + get isRedacted() { return super.isRedacted || isRedacted(this._eventEntry.event); }