diff options
author | trilene <trilene@runbox.com> | 2020-08-01 14:39:06 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-08-01 14:39:06 -0400 |
commit | e527da052bcc33bfa6d4cab7b418098d1bd66fd4 (patch) | |
tree | cb3d7f0435c6f81fe2c9261d3b9f764db6452bd6 | |
parent | clang-format (diff) | |
download | nheko-e527da052bcc33bfa6d4cab7b418098d1bd66fd4.tar.xz |
Reset TLVM initial sync flag on logout
-rw-r--r-- | src/timeline/TimelineViewManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp index 84be895f..5d0b54c3 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp @@ -139,6 +139,10 @@ TimelineViewManager::TimelineViewManager(QSharedPointer<UserSettings> userSettin &ChatPage::decryptSidebarChanged, this, &TimelineViewManager::updateEncryptedDescriptions); + connect(dynamic_cast<ChatPage *>(parent), &ChatPage::loggedOut, this, [this]() { + isInitialSync_ = true; + emit initialSyncChanged(true); + }); } void |