aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/syncjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-04 13:28:09 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-04 13:28:09 +0200
commit3648c6a40c585e718bcfc0068cfa431e46f24a52 (patch)
tree98b925285665f09213163c223c5c40af96ddb4eb /lib/jobs/syncjob.cpp
parent623212f538123606b3c27849c84f833d45ce9f02 (diff)
downloadlibquotient-3648c6a40c585e718bcfc0068cfa431e46f24a52.tar.gz
libquotient-3648c6a40c585e718bcfc0068cfa431e46f24a52.zip
Cleanup around [BaseJob::]IncorrectResponse[Error]
Diffstat (limited to 'lib/jobs/syncjob.cpp')
-rw-r--r--lib/jobs/syncjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jobs/syncjob.cpp b/lib/jobs/syncjob.cpp
index 6b8cfe4b..9087fe50 100644
--- a/lib/jobs/syncjob.cpp
+++ b/lib/jobs/syncjob.cpp
@@ -53,9 +53,9 @@ BaseJob::Status SyncJob::prepareResult()
{
d.parseJson(jsonData());
if (d.unresolvedRooms().isEmpty())
- return BaseJob::Success;
+ return Success;
qCCritical(MAIN).noquote() << "Incomplete sync response, missing rooms:"
<< d.unresolvedRooms().join(',');
- return BaseJob::IncorrectResponseError;
+ return IncorrectResponse;
}