2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Apply server side bot verifications.

This commit is contained in:
John Preston
2024-12-19 17:15:29 +04:00
parent 6f18b9b691
commit 0363421862
5 changed files with 27 additions and 40 deletions

View File

@@ -715,9 +715,6 @@ bool ChannelData::canRestrictParticipant(
}
void ChannelData::setVerifyDetails(Ui::VerifyDetails details) {
if (_verifyDetails && !verifiedByTelegram() && !details) {
return; AssertIsDebug();
}
if (!details) {
if (_verifyDetails) {
_verifyDetails = nullptr;