mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Cache topPeers locally.
This commit is contained in:
@@ -53,6 +53,7 @@ Account::Account(not_null<Domain*> domain, const QString &dataName, int index)
|
||||
Account::~Account() {
|
||||
if (const auto session = maybeSession()) {
|
||||
session->saveSettingsNowIfNeeded();
|
||||
_local->writeSearchSuggestionsIfNeeded();
|
||||
}
|
||||
destroySession(DestroyReason::Quitting);
|
||||
}
|
||||
|
Reference in New Issue
Block a user