summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-13 22:25:15 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-13 22:25:15 +0200
commitd31a08f1d59e9f70b0d2fc2a139efa52d1b03d75 (patch)
tree08fde5cad96c6db5fa1619df3a4fdcdf97349724 /include
parentMake some functions inline (diff)
downloadnheko-d31a08f1d59e9f70b0d2fc2a139efa52d1b03d75.tar.xz
Keep syncing regardless of connectivity (#93)
Diffstat (limited to 'include')
-rw-r--r--include/ChatPage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ChatPage.h b/include/ChatPage.h
index 93b98a76..0eae3838 100644
--- a/include/ChatPage.h
+++ b/include/ChatPage.h
@@ -86,7 +86,6 @@ private slots:
         void setOwnAvatar(const QPixmap &img);
         void initialSyncCompleted(const mtx::responses::Sync &response);
         void syncCompleted(const mtx::responses::Sync &response);
-        void syncFailed(const QString &msg);
         void changeTopRoomInfo(const QString &room_id);
         void logout();
         void addRoom(const QString &room_id);
@@ -157,6 +156,7 @@ private:
         // Safety net if consensus is not possible or too slow.
         QTimer *showContentTimer_;
         QTimer *consensusTimer_;
+        QTimer *syncTimeoutTimer_;
 
         QString current_room_;
         QString current_community_;