aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.h')
-rw-r--r--jobs/syncjob.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/jobs/syncjob.h b/jobs/syncjob.h
index a9138a65..e7b23d16 100644
--- a/jobs/syncjob.h
+++ b/jobs/syncjob.h
@@ -99,20 +99,14 @@ namespace QMatrixClient
class SyncJob: public BaseJob
{
public:
- SyncJob(ConnectionData* connection, QString since=QString());
+ SyncJob(ConnectionData* connection, QString since = {}, QString filter = {},
+ int timeout = -1, QString presence = {});
virtual ~SyncJob();
- void setFilter(QString filter);
- void setFullState(bool full);
- void setPresence(QString presence);
- void setTimeout(int timeout);
-
SyncData& roomData();
QString nextBatch() const;
protected:
- QString apiPath() const override;
- QUrlQuery query() const override;
Status parseJson(const QJsonDocument& data) override;
private: