Reset TLVM initial sync flag on logout

This commit is contained in:
trilene 2020-08-01 14:39:06 -04:00
parent e3e7595bab
commit e527da052b
1 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,10 @@ TimelineViewManager::TimelineViewManager(QSharedPointer<UserSettings> userSettin
&ChatPage::decryptSidebarChanged, &ChatPage::decryptSidebarChanged,
this, this,
&TimelineViewManager::updateEncryptedDescriptions); &TimelineViewManager::updateEncryptedDescriptions);
connect(dynamic_cast<ChatPage *>(parent), &ChatPage::loggedOut, this, [this]() {
isInitialSync_ = true;
emit initialSyncChanged(true);
});
} }
void void