Browse Source

Fixed switch_inline from via message

Close #1174
master
Igor Zhukov 9 years ago
parent
commit
d33a4cf53e
  1. 2
      app/js/services.js

2
app/js/services.js

@ -2634,7 +2634,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -2634,7 +2634,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
function switchInlineButtonClick(id, button) {
var message = AppMessagesManager.getMessage(id);
var botID = message.fromID;
var botID = message.viaBotID || message.fromID;
return checkSwitchReturn(botID).then(function (retPeerString) {
if (retPeerString) {
return switchInlineQuery(botID, retPeerString, button.query);

Loading…
Cancel
Save