From e527da052bcc33bfa6d4cab7b418098d1bd66fd4 Mon Sep 17 00:00:00 2001 From: trilene Date: Sat, 1 Aug 2020 14:39:06 -0400 Subject: [PATCH] Reset TLVM initial sync flag on logout --- src/timeline/TimelineViewManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp index 84be895..5d0b54c 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp @@ -139,6 +139,10 @@ TimelineViewManager::TimelineViewManager(QSharedPointer userSettin &ChatPage::decryptSidebarChanged, this, &TimelineViewManager::updateEncryptedDescriptions); + connect(dynamic_cast(parent), &ChatPage::loggedOut, this, [this]() { + isInitialSync_ = true; + emit initialSyncChanged(true); + }); } void