From 889ec0c731aea7e234fdf6e2648ef5edddad3c4d Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 24 Jul 2024 18:25:33 +0300 Subject: [PATCH] Replace \r\n with \n on paste. Fixes #28181. --- Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp | 1 - Telegram/lib_ui | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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