Send user updated websocket event on plugin.UpdateUser (#16604)

* Send user updated websocket event on plugin.UpdateUser

* Changes from review
Этот коммит содержится в:
Chetanya Kandhari
2021-02-04 10:19:32 +05:30
коммит произвёл GitHub
родитель e77a3923c9
Коммит 78ccf8a775
4 изменённых файлов: 7 добавлений и 10 удалений

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

@@ -493,7 +493,7 @@ func (a *App) importUser(data *UserImportData, dryRun bool) *model.AppError {
}
}
if hasNotifyPropsChanged {
if savedUser, err = a.UpdateUserNotifyProps(user.Id, user.NotifyProps); err != nil {
if savedUser, err = a.UpdateUserNotifyProps(user.Id, user.NotifyProps, false); err != nil {
return err
}
}