Space preferences for whether or not you see DMs in a Space (#7250)
This commit is contained in:
@@ -872,6 +872,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||
[MetaSpace.Home]: true,
|
||||
}, false),
|
||||
},
|
||||
"Spaces.showPeopleInSpace": {
|
||||
supportedLevels: [SettingLevel.ROOM_ACCOUNT],
|
||||
default: true,
|
||||
controller: new IncompatibleController("showCommunitiesInsteadOfSpaces", null),
|
||||
},
|
||||
"showCommunitiesInsteadOfSpaces": {
|
||||
displayName: _td("Display Communities instead of Spaces"),
|
||||
description: _td("Temporarily show communities instead of Spaces for this session. " +
|
||||
|
||||
@@ -18,7 +18,7 @@ import { SettingLevel } from "./SettingLevel";
|
||||
|
||||
export type CallbackFn = (changedInRoomId: string, atLevel: SettingLevel, newValAtLevel: any) => void;
|
||||
|
||||
const IRRELEVANT_ROOM = Symbol("irrelevant-room");
|
||||
const IRRELEVANT_ROOM: string = null;
|
||||
|
||||
/**
|
||||
* Generalized management class for dealing with watchers on a per-handler (per-level)
|
||||
|
||||
Reference in New Issue
Block a user