Skip to content

Commit

Permalink
Add feature flag: UIFeature.AllowDirectUserInvite
Browse files Browse the repository at this point in the history
  • Loading branch information
John Tore Simonsen committed Nov 6, 2024
1 parent 87fa4c9 commit f55ee01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,10 @@ export const SETTINGS: { [setting: string]: ISetting } = {
supportedLevels: LEVELS_UI_FEATURE,
default: true,
},
[UIFeature.AllowDirectUserInvite]: {
supportedLevels: LEVELS_UI_FEATURE,
default: true,
},

// Electron-specific settings, they are stored by Electron and set/read over an IPC.
// We store them over there are they are necessary to know before the renderer process launches.
Expand Down
1 change: 1 addition & 0 deletions src/settings/UIFeature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export const enum UIFeature {
SettingShowMessageSearch = "UIFeature.settingShowMessageSearch",
ShowRoomMembersInSuggestions = "UIFeature.showRoomMembersInSuggestions",
ShowRecentsInSuggestions = "UIFeature.showRecentsInSuggestions",
AllowDirectUserInvite = "UIFeature.allowDirectUserInvite",
}

export enum UIComponent {
Expand Down

0 comments on commit f55ee01

Please sign in to comment.