Skip to content

Commit

Permalink
Replace \r\n with \n on paste.
Browse files Browse the repository at this point in the history
Fixes #28181.
  • Loading branch information
john-preston committed Jul 24, 2024
1 parent 677fbdd commit 889ec0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,6 @@ void WebViewInstance::botAllowWriteAccess(Fn<void(bool allowed)> callback) {
}

void WebViewInstance::botSharePhone(Fn<void(bool shared)> callback) {
const auto bot = _bot;
const auto history = _bot->owner().history(_bot);
if (_bot->isBlocked()) {
const auto done = crl::guard(this, [=](bool success) {
Expand Down
2 changes: 1 addition & 1 deletion Telegram/lib_ui

0 comments on commit 889ec0c

Please sign in to comment.