MM-41407_Remove FF for MM-39053 Default Notifications (#19851)

Этот коммит содержится в:
Julian Mondragón
2022-03-30 12:07:03 -05:00
коммит произвёл GitHub
родитель 3cab0f1d8d
Коммит baf9f69c27
2 изменённых файлов: 0 добавлений и 13 удалений

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

@@ -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