summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-30 13:39:09 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-30 13:39:09 +0300
commitee2ba93ec487051ac6883a65da2472a6d105f5cf (patch)
treeb2a0792511bac8c20377d31463e7bfc3e5be70df /src/ChatPage.h
parentIncrease LMDB's map size (#413) (diff)
downloadnheko-ee2ba93ec487051ac6883a65da2472a6d105f5cf.tar.xz
Only call /sync when retrying initial sync (#422)
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h
index a74748ed..5bb7ecae 100644
--- a/src/ChatPage.h
+++ b/src/ChatPage.h
@@ -163,6 +163,7 @@ private:
         //! Handler callback for initial sync. It doesn't run on the main thread so all
         //! communication with the GUI should be done through signals.
         void initialSyncHandler(const mtx::responses::Sync &res, mtx::http::RequestErr err);
+        void startInitialSync();
         void tryInitialSync();
         void trySync();
         void ensureOneTimeKeyCount(const std::map<std::string, uint16_t> &counts);