summary refs log tree commit diff
path: root/include/ChatPage.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-20 21:21:04 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-20 21:21:04 +0300
commit9b60fdd620d5091377cca2163b97f856aedd7dca (patch)
tree226aa2506798c264a7ef18a02272cf3b94353309 /include/ChatPage.h
parentMake sidebar topic expand on click and fix html formatting of elided text. (#96) (diff)
downloadnheko-9b60fdd620d5091377cca2163b97f856aedd7dca.tar.xz
Remove sync timer
Diffstat (limited to 'include/ChatPage.h')
-rw-r--r--include/ChatPage.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/ChatPage.h b/include/ChatPage.h
index be8fc12c..e8a40ade 100644
--- a/include/ChatPage.h
+++ b/include/ChatPage.h
@@ -37,7 +37,6 @@
 
 constexpr int CONSENSUS_TIMEOUT    = 1000;
 constexpr int SHOW_CONTENT_TIMEOUT = 3000;
-constexpr int SYNC_INTERVAL        = 2000;
 
 class ChatPage : public QWidget
 {
@@ -66,7 +65,6 @@ private slots:
         void syncCompleted(const SyncResponse &response);
         void syncFailed(const QString &msg);
         void changeTopRoomInfo(const QString &room_id);
-        void startSync();
         void logout();
         void addRoom(const QString &room_id);
         void removeRoom(const QString &room_id);
@@ -106,7 +104,6 @@ private:
         // Safety net if consensus is not possible or too slow.
         QTimer *showContentTimer_;
         QTimer *consensusTimer_;
-        QTimer *syncTimer_;
 
         QString current_room_;
         QMap<QString, QPixmap> room_avatars_;