Move getter to this PR
This commit is contained in:
parent
22356bee51
commit
c3784d406b
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Reference in a new issue