mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
fix: update room list when space option to show people is checked
This commit is contained in:
parent
78cb26201b
commit
094ede4ce0
@ -81,6 +81,11 @@ export class RoomListStoreV3Class extends AsyncStoreWithClient<EmptyObject> {
|
||||
super(dispatcher);
|
||||
this.msc3946ProcessDynamicPredecessor = SettingsStore.getValue("feature_dynamic_room_predecessors");
|
||||
SpaceStore.instance.on(UPDATE_SELECTED_SPACE, () => {
|
||||
SettingsStore.unwatchSetting("Spaces.showPeopleInSpace");
|
||||
SettingsStore.watchSetting("Spaces.showPeopleInSpace", SpaceStore.instance.activeSpace, () =>
|
||||
this.onActiveSpaceChanged(),
|
||||
);
|
||||
|
||||
this.onActiveSpaceChanged();
|
||||
});
|
||||
SpaceStore.instance.on(UPDATE_HOME_BEHAVIOUR, () => this.onActiveSpaceChanged());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user