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

Fix local storage clearing on logout.

This commit is contained in:
John Preston
2020-06-26 14:36:22 +04:00
parent 76593b0f3d
commit c8efb77520
5 changed files with 23 additions and 9 deletions

View File

@@ -140,6 +140,9 @@ public:
[[nodiscard]] QString createInternalLink(const QString &query) const;
[[nodiscard]] QString createInternalLinkFull(const QString &query) const;
// Can be called only right before ~Session.
void finishLogout();
[[nodiscard]] rpl::lifetime &lifetime() {
return _lifetime;
}