diff --git a/src/stores/spaces/SpaceStore.ts b/src/stores/spaces/SpaceStore.ts index 015c9fa0fd3..2945d486c2f 100644 --- a/src/stores/spaces/SpaceStore.ts +++ b/src/stores/spaces/SpaceStore.ts @@ -1302,11 +1302,11 @@ export class SpaceStoreClass extends AsyncStoreWithClient { 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; }