mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Getter for powerlevel from room
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
f7a6fbd901
commit
cb5e598e95
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user