mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
propagateuploadv1: don't finalize after a done()
Should fix an assert when "Server does not support X-OC-MTime" (Which only happens with owncloud 5) Issue #6403
This commit is contained in:
parent
5e2270bd57
commit
3506c52be9
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ void PropagateUploadFileV1::slotPutFinished()
|
||||||
qCWarning(lcPropagateUpload) << "Server does not support X-OC-MTime" << job->reply()->rawHeader("X-OC-MTime");
|
qCWarning(lcPropagateUpload) << "Server does not support X-OC-MTime" << job->reply()->rawHeader("X-OC-MTime");
|
||||||
// Well, the mtime was not set
|
// Well, the mtime was not set
|
||||||
done(SyncFileItem::SoftError, "Server does not support X-OC-MTime");
|
done(SyncFileItem::SoftError, "Server does not support X-OC-MTime");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
finalize();
|
finalize();
|
||||||
|
|
Loading…
Reference in a new issue