Adding the feature flag to enable/disable calls in the mobile app (#18689)

Этот коммит содержится в:
Jesús Espino
2021-10-15 19:13:28 +02:00
коммит произвёл GitHub
родитель 0f16c59b0a
Коммит 63ece5a29b

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

@@ -49,6 +49,9 @@ type FeatureFlags struct {
// Enable Boards Unfurl Preview // Enable Boards Unfurl Preview
BoardsUnfurl bool BoardsUnfurl bool
// Enable Calls plugin support in the mobile app
CallsMobile bool
} }
func (f *FeatureFlags) SetDefaults() { func (f *FeatureFlags) SetDefaults() {
@@ -66,6 +69,7 @@ func (f *FeatureFlags) SetDefaults() {
f.PrewrittenMessages = "none" f.PrewrittenMessages = "none"
f.DownloadAppsCTA = "none" f.DownloadAppsCTA = "none"
f.BoardsUnfurl = true f.BoardsUnfurl = true
f.CallsMobile = false
} }
func (f *FeatureFlags) Plugins() map[string]string { func (f *FeatureFlags) Plugins() map[string]string {