aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.cpp')
-rw-r--r--jobs/syncjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/syncjob.cpp b/jobs/syncjob.cpp
index cec9595f..e3421d35 100644
--- a/jobs/syncjob.cpp
+++ b/jobs/syncjob.cpp
@@ -21,8 +21,6 @@
#include <QtCore/QJsonArray>
#include <QtCore/QDebug>
-#include "../connectiondata.h"
-
using namespace QMatrixClient;
class SyncJob::Private
@@ -50,6 +48,8 @@ SyncJob::SyncJob(ConnectionData* connection,
if( !since.isEmpty() )
query.addQueryItem("since", since);
setRequestQuery(query);
+
+ setMaxRetries(std::numeric_limits<int>::max());
}
SyncJob::~SyncJob()