diff --git a/data/web/webappcontent.telegram.org/cafe.html b/data/web/webappcontent.telegram.org/cafe.html index 049bb399bd..2c48749cd5 100644 --- a/data/web/webappcontent.telegram.org/cafe.html +++ b/data/web/webappcontent.telegram.org/cafe.html @@ -441,7 +441,7 @@ - + diff --git a/data/web/webappcontent.telegram.org/js/cafe.js b/data/web/webappcontent.telegram.org/js/cafe.js index a8e5133827..3588797f73 100644 --- a/data/web/webappcontent.telegram.org/js/cafe.js +++ b/data/web/webappcontent.telegram.org/js/cafe.js @@ -284,9 +284,9 @@ var Cafe = { Cafe.toggleLoading(false); if (result.ok) { if (Cafe.mode == 'inline') { - Telegram.WebApp.switchInlineQuery('my'); + Telegram.WebApp.switchInlineQuery('#' + result.order_id); } else if (Cafe.mode == 'link') { - Telegram.WebApp.switchInlineQuery('my', ['users', 'groups']); + Telegram.WebApp.switchInlineQuery('#' + result.order_id, ['users', 'groups']); } else if (invoiceSupported) { Telegram.WebApp.openInvoice(result.invoice_url, function(status) { if (status == 'paid') {