diff --git a/src/matrix/room/BaseRoom.js b/src/matrix/room/BaseRoom.js index 9d33c5c5..ac5fa59e 100644 --- a/src/matrix/room/BaseRoom.js +++ b/src/matrix/room/BaseRoom.js @@ -388,6 +388,10 @@ export class BaseRoom extends EventEmitter { return this._summary.data.membership; } + get powerLevels() { + return this._timeline.powerLevels; + } + enableSessionBackup(sessionBackup) { this._roomEncryption?.enableSessionBackup(sessionBackup); // TODO: do we really want to do this every time you open the app?