mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-02 23:02:33 -08:00
Add optoins to change room visibility
Signed-off-by: Ajay Bura <[email protected]>
This commit is contained in:
1 parent
07b1fe8e47
commit
d02e8dcd4e
6 files changed
+156
-7
No files matched your search
@@ -78,7 +78,7 @@ class Navigation extends EventEmitter {
|
||||
this.removeRecentRoom(prevSelectedRoomId);
|
||||
this.addRecentRoom(prevSelectedRoomId);
|
||||
this.removeRecentRoom(this.selectedRoomId);
|
||||
if (this.isRoomSettings) {
|
||||
if (this.isRoomSettings && typeof this.selectedRoomId === 'string') {
|
||||
this.isRoomSettings = !this.isRoomSettings;
|
||||
this.emit(cons.events.navigation.ROOM_SETTINGS_TOGGLED, this.isRoomSettings);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user