From 66fa8d84a791fae963d2ef346fcd7e62ddd85682 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Mon, 10 Jan 2022 18:51:12 +0530 Subject: [PATCH] Make setAsContextOf private --- src/matrix/room/timeline/entries/EventEntry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/room/timeline/entries/EventEntry.js b/src/matrix/room/timeline/entries/EventEntry.js index 13a10103..032c26c4 100644 --- a/src/matrix/room/timeline/entries/EventEntry.js +++ b/src/matrix/room/timeline/entries/EventEntry.js @@ -47,10 +47,10 @@ export class EventEntry extends BaseEventEntry { setContextEntry(entry) { this._contextEntry = entry; - entry.setAsContextOf(this); + entry._setAsContextOf(this); } - setAsContextOf(entry) { + _setAsContextOf(entry) { if (!this._contextForEntries) { this._contextForEntries = []; }