diff options
Diffstat (limited to 'common/synchronizer.cpp')
-rw-r--r-- | common/synchronizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp index cfd2c10..d86b027 100644 --- a/common/synchronizer.cpp +++ b/common/synchronizer.cpp | |||
@@ -336,7 +336,7 @@ KAsync::Job<void> Synchronizer::processSyncQueue() | |||
336 | enqueueCommand(Sink::Commands::FlushCommand, BufferUtils::extractBuffer(fbb)); | 336 | enqueueCommand(Sink::Commands::FlushCommand, BufferUtils::extractBuffer(fbb)); |
337 | } | 337 | } |
338 | } else if (request.requestType == Synchronizer::SyncRequest::ChangeReplay) { | 338 | } else if (request.requestType == Synchronizer::SyncRequest::ChangeReplay) { |
339 | job = replayNextRevision(); | 339 | job = job.then(replayNextRevision()); |
340 | } else { | 340 | } else { |
341 | SinkWarning() << "Unknown request type: " << request.requestType; | 341 | SinkWarning() << "Unknown request type: " << request.requestType; |
342 | return KAsync::error(KAsync::Error{"Unknown request type."}); | 342 | return KAsync::error(KAsync::Error{"Unknown request type."}); |