forked from mystiq/hydrogen-web
Add isReply flag to entries
This commit is contained in:
parent
960e3ec469
commit
06961ff693
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ export class BaseEventEntry extends BaseEntry {
|
|||
this._pendingAnnotations = null;
|
||||
}
|
||||
|
||||
get isReply() {
|
||||
return !!this.relation?.["m.in_reply_to"];
|
||||
}
|
||||
|
||||
get isRedacting() {
|
||||
return !!this._pendingRedactions;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue