2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Add support for incomplete login attempts.

This commit is contained in:
John Preston
2018-11-20 14:03:44 +04:00
parent 770f4a78aa
commit 21fab77c4b
11 changed files with 501 additions and 363 deletions

View File

@@ -2001,6 +2001,14 @@ void Session::serviceNotification(
}
}
void Session::checkNewAuthorization() {
_newAuthorizationChecks.fire({});
}
rpl::producer<> Session::newAuthorizationChecks() const {
return _newAuthorizationChecks.events();
}
void Session::insertCheckedServiceNotification(
const TextWithEntities &message,
const MTPMessageMedia &media,