diff --git a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp index 8e993f4f7..27e37053a 100644 --- a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp +++ b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp @@ -1305,7 +1305,6 @@ void WebViewInstance::botAllowWriteAccess(Fn callback) { } void WebViewInstance::botSharePhone(Fn callback) { - const auto bot = _bot; const auto history = _bot->owner().history(_bot); if (_bot->isBlocked()) { const auto done = crl::guard(this, [=](bool success) { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 007e3a519..7dd187eee 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 007e3a519ffbad0bd889de6cb4b19f34959afbce +Subproject commit 7dd187eeeb46b68dadc5752c3f3fc34e5e1d7e94