MM-56881 Validate and ensure valid CustomStatus is stored (#26287)
* don't allow invalid CustomStatus * allow empty emoji in custom status * lint fix * add english translation * update for review comments. * fix bad fix --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5740b43922
Коммит
30454f241d
@@ -9770,6 +9770,10 @@
|
||||
"id": "model.user.is_valid.id.app_error",
|
||||
"translation": "Invalid user id."
|
||||
},
|
||||
{
|
||||
"id": "model.user.is_valid.invalidProperty.app_error",
|
||||
"translation": "Invalid props (custom status)"
|
||||
},
|
||||
{
|
||||
"id": "model.user.is_valid.last_name.app_error",
|
||||
"translation": "Invalid last name."
|
||||
|
||||
Ссылка в новой задаче
Block a user