mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
Add isReply flag to entries
This commit is contained in:
parent
960e3ec469
commit
06961ff693
@ -29,6 +29,10 @@ export class BaseEventEntry extends BaseEntry {
|
|||||||
this._pendingAnnotations = null;
|
this._pendingAnnotations = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get isReply() {
|
||||||
|
return !!this.relation?.["m.in_reply_to"];
|
||||||
|
}
|
||||||
|
|
||||||
get isRedacting() {
|
get isRedacting() {
|
||||||
return !!this._pendingRedactions;
|
return !!this._pendingRedactions;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user