From d31a08f1d59e9f70b0d2fc2a139efa52d1b03d75 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 13 Jan 2018 22:25:15 +0200 Subject: Keep syncing regardless of connectivity (#93) --- include/ChatPage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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_; -- cgit 1.5.1