Fix opening bot from bot menu.

This commit is contained in:
levlam 2022-04-08 04:09:07 +03:00
parent 2b3d3c5efd
commit 1302aa2520

View File

@ -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 {