Add explaining comment

This commit is contained in:
RMidhunSuresh 2023-06-09 15:38:15 +05:30
parent 3182256054
commit 2ebb22ab32

View File

@ -148,7 +148,7 @@ export class EventEntry extends BaseEventEntry {
return originalRelation || getRelationFromContent(this.content);
}
// similar to relatedEventID but only for replies
// similar to relatedEventID but only for replies and reference relations
get contextEventId() {
if (this.isReply || this.isReference) {
return this.relatedEventId;