2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +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

@@ -423,6 +423,8 @@ public:
void serviceNotification(
const TextWithEntities &message,
const MTPMessageMedia &media = MTP_messageMediaEmpty());
void checkNewAuthorization();
rpl::producer<> newAuthorizationChecks() const;
void setMimeForwardIds(MessageIdsList &&list);
MessageIdsList takeMimeForwardIds();
@@ -656,6 +658,8 @@ private:
int>;
std::unique_ptr<CredentialsWithGeneration> _passportCredentials;
rpl::event_stream<> _newAuthorizationChecks;
rpl::lifetime _lifetime;
};