Move getter to this PR

This commit is contained in:
RMidhunSuresh 2022-01-13 21:05:57 +05:30
parent 22356bee51
commit c3784d406b

View file

@ -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);
}