Disable error handling for bot callbacks
Close #1156 Close #1133 Close #1129
This commit is contained in:
parent
3566c1c3f6
commit
4a04a85ac5
@ -2663,7 +2663,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
peer: AppPeersManager.getInputPeerByID(peerID),
|
peer: AppPeersManager.getInputPeerByID(peerID),
|
||||||
msg_id: AppMessagesManager.getMessageLocalID(id),
|
msg_id: AppMessagesManager.getMessageLocalID(id),
|
||||||
data: button.data
|
data: button.data
|
||||||
}).then(function (callbackAnswer) {
|
}, {timeout: 1, stopTime: -1, noErrorBox: true}).then(function (callbackAnswer) {
|
||||||
if (typeof callbackAnswer.message != 'string' ||
|
if (typeof callbackAnswer.message != 'string' ||
|
||||||
!callbackAnswer.message.length) {
|
!callbackAnswer.message.length) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user