MM-29400 Mark all current notices as viewed for newly created users (#15840)
* Added clearing of notices for new users * ci kick
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
25fd59a435
Коммит
f2e5e1562d
@@ -314,6 +314,7 @@ func (a *App) createUser(user *model.User) (*model.User, *model.AppError) {
|
||||
mlog.Error("Encountered error saving tutorial preference", mlog.Err(err))
|
||||
}
|
||||
|
||||
go a.UpdateViewedProductNoticesForNewUser(ruser.Id)
|
||||
ruser.Sanitize(map[string]bool{})
|
||||
return ruser, nil
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user