]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
The share-permissions namespace was moved
authorRoeland Jago Douma <rullzer@owncloud.com>
Fri, 15 Apr 2016 08:14:05 +0000 (10:14 +0200)
committerRoeland Jago Douma <rullzer@owncloud.com>
Fri, 15 Apr 2016 08:14:05 +0000 (10:14 +0200)
See https://github.com/owncloud/core/pull/24017

This was done since other services we want to intergrate with don't use
the ownCloud namespace.

src/gui/sharedialog.cpp

index 8704993707483c15f8c9c104ef1b52ba04a503f8..00b4e27098256a1798a82fab7675e0b1777efb6c 100644 (file)
@@ -116,7 +116,7 @@ ShareDialog::ShareDialog(QPointer<AccountState> accountState,
     // Server versions >= 9.1 support the "share-permissions" property
     // older versions will just return share-permissions: ""
     auto job = new PropfindJob(accountState->account(), _sharePath);
-    job->setProperties(QList<QByteArray>() << "http://owncloud.org/ns:share-permissions");
+    job->setProperties(QList<QByteArray>() << "http://open-collaboration-services.org/ns::share-permissions");
     job->setTimeout(10 * 1000);
     connect(job, SIGNAL(result(QVariantMap)), SLOT(slotMaxSharingPermissionsReceived(QVariantMap)));
     connect(job, SIGNAL(finishedWithError(QNetworkReply*)), SLOT(slotMaxSharingPermissionsError()));