Adds a feature flag to control availability of DMs in shared channels (#28920)

* Adds a feature flag to control availability of DMs in shared channels

* Reverse feature flag wording
Этот коммит содержится в:
Miguel de la Cruz
2024-10-24 19:38:00 +02:00
коммит произвёл GitHub
родитель 6075b1cd4e
Коммит cb03009992
6 изменённых файлов: 18 добавлений и 11 удалений

Просмотреть файл

@@ -19,6 +19,9 @@ type FeatureFlags struct {
// Enable the remote cluster service for shared channels.
EnableRemoteClusterService bool
// Enable DMs and GMs for shared channels.
EnableSharedChannelsDMs bool
// AppsEnabled toggles the Apps framework functionalities both in server and client side
AppsEnabled bool
@@ -58,6 +61,7 @@ func (f *FeatureFlags) SetDefaults() {
f.TestFeature = "off"
f.TestBoolFeature = false
f.EnableRemoteClusterService = false
f.EnableSharedChannelsDMs = false
f.AppsEnabled = false
f.NormalizeLdapDNs = false
f.DeprecateCloudFree = false