aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.cpp')
-rw-r--r--jobs/syncjob.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/jobs/syncjob.cpp b/jobs/syncjob.cpp
index 37f79298..3a7573bc 100644
--- a/jobs/syncjob.cpp
+++ b/jobs/syncjob.cpp
@@ -43,8 +43,10 @@ class SyncJob::Private
QList<SyncRoomData> roomData;
};
+static size_t jobId = 0;
+
SyncJob::SyncJob(ConnectionData* connection, QString since)
- : BaseJob(connection, JobHttpType::GetJob, "SyncJob")
+ : BaseJob(connection, JobHttpType::GetJob, QString("SyncJob-%1").arg(++jobId))
, d(new Private)
{
d->since = since;
@@ -133,6 +135,7 @@ void SyncJob::parseJson(const QJsonDocument& data)
}
emitResult();
+ qDebug() << objectName() << ": processing complete";
}
void SyncRoomData::EventList::fromJson(const QJsonObject& roomContents)