Disable error handling for bot callbacks

Close #1156
Close #1133
Close #1129
This commit is contained in:
Igor Zhukov 2016-06-06 20:26:06 +03:00
parent 3566c1c3f6
commit 4a04a85ac5

View File

@ -2663,7 +2663,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
peer: AppPeersManager.getInputPeerByID(peerID),
msg_id: AppMessagesManager.getMessageLocalID(id),
data: button.data
}).then(function (callbackAnswer) {
}, {timeout: 1, stopTime: -1, noErrorBox: true}).then(function (callbackAnswer) {
if (typeof callbackAnswer.message != 'string' ||
!callbackAnswer.message.length) {
return;