diff --git a/app/js/messages_manager.js b/app/js/messages_manager.js index 0fdb8571..3e2a0c87 100644 --- a/app/js/messages_manager.js +++ b/app/js/messages_manager.js @@ -1565,7 +1565,8 @@ angular.module('myApp.services') }, function (error) { if (attachType == 'photo' && error.code == 400 && - error.type == 'PHOTO_INVALID_DIMENSIONS') { + (error.type == 'PHOTO_INVALID_DIMENSIONS' || + error.type == 'PHOTO_SAVE_FILE_INVALID')) { error.handled = true; attachType = 'document'; message.send();