First special treatment of space-rooms
This commit is contained in:
parent
6b3f05a3cd
commit
79daf615e4
4 changed files with 15 additions and 8 deletions
|
@ -122,6 +122,7 @@ export class BreadcrumbsStore extends AsyncStoreWithClient<IState> {
|
|||
}
|
||||
|
||||
private async appendRoom(room: Room) {
|
||||
if (room.isSpaceRoom() && SettingsStore.getValue("feature_spaces")) return; // hide space rooms
|
||||
let updated = false;
|
||||
const rooms = (this.state.rooms || []).slice(); // cheap clone
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue