MM-41407_Remove FF for MM-39053 Default Notifications (#19851)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3cab0f1d8d
Коммит
baf9f69c27
@@ -63,15 +63,6 @@ func (us *UserService) createUser(user *model.User) (*model.User, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if us.config().FeatureFlags.NewAccountNoisy {
|
||||
user.SetDefaultNotifications()
|
||||
user.NotifyProps[model.DesktopNotifyProp] = model.UserNotifyAll
|
||||
user.NotifyProps[model.PushNotifyProp] = model.UserNotifyAll
|
||||
user.NotifyProps[model.ChannelMentionsNotifyProp] = "true"
|
||||
user.NotifyProps[model.MentionKeysNotifyProp] = user.Username
|
||||
user.NotifyProps[model.FirstNameNotifyProp] = "true"
|
||||
}
|
||||
|
||||
ruser, err := us.store.Save(user)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@@ -38,9 +38,6 @@ type FeatureFlags struct {
|
||||
|
||||
PermalinkPreviews bool
|
||||
|
||||
// Determine whether when a user gets created, they'll have noisy notifications e.g. Send desktop notifications for all activity
|
||||
NewAccountNoisy bool
|
||||
|
||||
// Enable Calls plugin support in the mobile app
|
||||
CallsMobile bool
|
||||
|
||||
@@ -85,7 +82,6 @@ func (f *FeatureFlags) SetDefaults() {
|
||||
f.PluginApps = ""
|
||||
f.PluginFocalboard = ""
|
||||
f.PermalinkPreviews = true
|
||||
f.NewAccountNoisy = false
|
||||
f.CallsMobile = false
|
||||
f.BoardsFeatureFlags = ""
|
||||
f.AddMembersToChannel = "top"
|
||||
|
||||
Ссылка в новой задаче
Block a user