From 436e87578e97db87ba1a1a50fc1c1b4c57aabba4 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 16 Jul 2021 16:07:02 +0530 Subject: [PATCH] Initialize prop in constructor Signed-off-by: RMidhunSuresh --- src/matrix/room/BaseRoom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/matrix/room/BaseRoom.js b/src/matrix/room/BaseRoom.js index cb2e439f..7ee04761 100644 --- a/src/matrix/room/BaseRoom.js +++ b/src/matrix/room/BaseRoom.js @@ -52,6 +52,8 @@ export class BaseRoom extends EventEmitter { this._getSyncToken = getSyncToken; this._platform = platform; this._observedEvents = null; + this._powerLevels = null; + this._powerLevelLoading = null; } async _eventIdsToEntries(eventIds, txn) {