Initialize prop in constructor

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-16 16:07:02 +05:30
parent ec4a783759
commit 436e87578e

View file

@ -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) {