Fix opening bot from bot menu.
This commit is contained in:
parent
2b3d3c5efd
commit
1302aa2520
@ -67,6 +67,7 @@ class RequestWebViewQuery final : public Td::ResultHandler {
|
||||
url = url.substr(7);
|
||||
|
||||
flags |= telegram_api::messages_requestWebView::FROM_BOT_MENU_MASK;
|
||||
flags |= telegram_api::messages_requestWebView::URL_MASK;
|
||||
} else if (!url.empty()) {
|
||||
flags |= telegram_api::messages_requestWebView::URL_MASK;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user