[MM-10354] Add feature to remove team icon (#8684)

* set team.LastTeamIconUpdate to 0 when removing team icon

* add APIv4 for removing team icon

* removed comment and updated typo on AppError
Этот коммит содержится в:
Saturnino Abril
2018-04-30 17:57:57 +08:00
коммит произвёл GitHub
родитель 2e6b3da1d3
Коммит 30011f67e8
6 изменённых файлов: 148 добавлений и 55 удалений

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

@@ -2458,6 +2458,10 @@
"id": "api.team.set_team_icon.encode.app_error",
"translation": "Could not encode team icon"
},
{
"id": "api.team.remove_team_icon.get_team.app_error",
"translation": "An error occurred getting the team"
},
{
"id": "api.team.set_team_icon.get_team.app_error",
"translation": "An error occurred getting the team"
@@ -2482,6 +2486,10 @@
"id": "api.team.set_team_icon.too_large.app_error",
"translation": "Unable to upload team icon. File is too large."
},
{
"id": "api.team.team_icon.update.app_error",
"translation": "An error occurred updating the team icon"
},
{
"id": "api.team.set_team_icon.write_file.app_error",
"translation": "Could not save team icon"