2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Support logout of a secondary account.

This commit is contained in:
John Preston
2020-06-16 13:40:43 +04:00
parent 5e045ec02c
commit bc144377c0
18 changed files with 189 additions and 81 deletions

View File

@@ -189,7 +189,10 @@ public:
bool openLocalUrl(const QString &url, QVariant context);
bool openInternalUrl(const QString &url, QVariant context);
void forceLogOut(const TextWithEntities &explanation);
void logout(Main::Account *account = nullptr);
void forceLogOut(
not_null<Main::Account*> account,
const TextWithEntities &explanation);
void checkLocalTime();
void lockByPasscode();
void unlockPasscode();