mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-07 18:31:33 +01:00
Emit event after rebuilding home space (#30132)
This commit is contained in:
parent
55e874fb50
commit
c0d91a46c7
@ -1302,11 +1302,11 @@ export class SpaceStoreClass extends AsyncStoreWithClient<EmptyObject> {
|
||||
const newValue = SettingsStore.getValue("Spaces.allRoomsInHome");
|
||||
if (this.allRoomsInHome !== newValue) {
|
||||
this._allRoomsInHome = newValue;
|
||||
this.emit(UPDATE_HOME_BEHAVIOUR, this.allRoomsInHome);
|
||||
if (this.enabledMetaSpaces.includes(MetaSpace.Home)) {
|
||||
this.rebuildHomeSpace();
|
||||
}
|
||||
this.sendUserProperties();
|
||||
this.emit(UPDATE_HOME_BEHAVIOUR, this.allRoomsInHome);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user