From 4a04a85ac5a98ad48ba3bbc179eb606e34e72725 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 6 Jun 2016 20:26:06 +0300 Subject: [PATCH] Disable error handling for bot callbacks Close #1156 Close #1133 Close #1129 --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index bacc47ef..1ce161b9 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -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;