Replace \r\n with \n on paste.

Fixes #28181.
This commit is contained in:
John Preston 2024-07-24 18:25:33 +03:00
parent 677fbdd84e
commit 889ec0c731
2 changed files with 1 additions and 2 deletions

View file

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

@ -1 +1 @@
Subproject commit 007e3a519ffbad0bd889de6cb4b19f34959afbce
Subproject commit 7dd187eeeb46b68dadc5752c3f3fc34e5e1d7e94