MM-39059 - AB test for the add members channel (#18832)

Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
Этот коммит содержится в:
Pablo Andrés Vélez Vidal
2021-10-26 16:06:50 +02:00
коммит произвёл GitHub
родитель 097d32f409
Коммит 841155db3e

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

@@ -60,6 +60,9 @@ type FeatureFlags struct {
// A dash separated list for feature flags to turn on for Boards
BoardsFeatureFlags string
// A/B test for the add members to channel button, possible values = ("top", "bottom")
AddMembersToChannel string
}
func (f *FeatureFlags) SetDefaults() {
@@ -81,6 +84,7 @@ func (f *FeatureFlags) SetDefaults() {
f.CallsMobile = false
f.AutoTour = "none"
f.BoardsFeatureFlags = ""
f.AddMembersToChannel = "top"
}
func (f *FeatureFlags) Plugins() map[string]string {