Change comment

This commit is contained in:
RMidhunSuresh 2021-12-07 13:04:01 +05:30
parent 06864a65b7
commit d191b327c6

View file

@ -127,8 +127,7 @@ export class EventEntry extends BaseEventEntry {
return getRelatedEventId(this.event); return getRelatedEventId(this.event);
} }
// return a related event-id only if this entry is a reply // similar to relatedEventID but excludes relations like redaction
// excludes relations like redaction
get contextEventId() { get contextEventId() {
if (this.isReply) { if (this.isReply) {
return this.relatedEventId; return this.relatedEventId;