From ee2ba93ec487051ac6883a65da2472a6d105f5cf Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 30 Aug 2018 13:39:09 +0300 Subject: Only call /sync when retrying initial sync (#422) --- src/ChatPage.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ChatPage.h') 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 &counts); -- cgit 1.5.1