Keep syncing regardless of connectivity (#93)

This commit is contained in:
Konstantinos Sideris 2018-01-13 22:25:15 +02:00
parent d3603606e7
commit d31a08f1d5
3 changed files with 18 additions and 15 deletions

View file

@ -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_;