diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-30 13:39:09 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-30 13:39:09 +0300 |
commit | ee2ba93ec487051ac6883a65da2472a6d105f5cf (patch) | |
tree | b2a0792511bac8c20377d31463e7bfc3e5be70df /src/ChatPage.h | |
parent | Increase LMDB's map size (#413) (diff) | |
download | nheko-ee2ba93ec487051ac6883a65da2472a6d105f5cf.tar.xz |
Only call /sync when retrying initial sync (#422)
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r-- | src/ChatPage.h | 1 |
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); |