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
|
||||
|
||||
Ссылка в новой задаче
Block a user