Remove Custom statuses feature flag (#17075)

Этот коммит содержится в:
Jesús Espino
2021-03-05 09:21:58 +01:00
коммит произвёл GitHub
родитель 9cc5089af8
Коммит 633d82f0ac
5 изменённых файлов: 6 добавлений и 10 удалений

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

@@ -83,7 +83,7 @@ func (a *App) ListAutocompleteCommands(teamID string, T i18n.TranslateFunc) ([]*
seen := make(map[string]bool)
// Disable custom status slash command if the feature or the setting is off
if !a.Config().FeatureFlags.CustomUserStatuses || !*a.Config().TeamSettings.EnableCustomUserStatuses {
if !*a.Config().TeamSettings.EnableCustomUserStatuses {
seen[CmdCustomStatusTrigger] = true
}