Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallexzander <allexzander@users.noreply.github.com>2021-10-21 00:11:14 +0300
committerGitHub <noreply@github.com>2021-10-21 00:11:14 +0300
commit33cb02e416bbdf67788f611af4221772e4d91270 (patch)
tree8e1bc6ad97fe395358c8629f219517c3aec4af82
parented7abc4a93570e1d4ee94abd09ce4ad71f33a78d (diff)
parentda03acc65639bfd1f61f811ecf6f4fdd4af55862 (diff)
Merge pull request #3908 from nextcloud/bugfix/fix-folder-creation-issues
Fix folder creation issues.
-rw-r--r--src/libsync/propagateremotemkdir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsync/propagateremotemkdir.cpp b/src/libsync/propagateremotemkdir.cpp
index af056d5e9..ac1b5b62a 100644
--- a/src/libsync/propagateremotemkdir.cpp
+++ b/src/libsync/propagateremotemkdir.cpp
@@ -138,8 +138,8 @@ void PropagateRemoteMkdir::finalizeMkColJob(QNetworkReply::NetworkError err, con
}
propagator()->_activeJobList.append(this);
- auto propfindJob = new PropfindJob(_job->account(), _job->path(), this);
- propfindJob->setProperties({ "oc:permissions" });
+ auto propfindJob = new PropfindJob(propagator()->account(), jobPath, this);
+ propfindJob->setProperties({"http://owncloud.org/ns:permissions"});
connect(propfindJob, &PropfindJob::result, this, [this, jobPath](const QVariantMap &result){
propagator()->_activeJobList.removeOne(this);
_item->_remotePerm = RemotePermissions::fromServerString(result.value(QStringLiteral("permissions")).toString());