2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Unblock the bot before sharing phone number.

This commit is contained in:
John Preston
2023-09-01 17:34:05 +04:00
parent d77c7a70ab
commit 076aa9452e
5 changed files with 108 additions and 34 deletions

View File

@@ -314,7 +314,7 @@ void SessionNavigation::showPeerByLink(const PeerByLinkInfo &info) {
if (info.startAutoSubmit) {
peer->session().api().blockedPeers().unblock(
peer,
[=] { showPeerByLinkResolved(peer, info); },
[=](bool) { showPeerByLinkResolved(peer, info); },
true);
} else {
showPeerByLinkResolved(peer, info);