summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/SharesPlugin.php
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-06-30 13:45:23 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-08-08 14:25:43 +0200
commit523fdb612c26281873d0dad6e193630de468b154 (patch)
tree2e53fa46f075fd6e2f23a488f951df143bacea28 /apps/dav/lib/Connector/Sabre/SharesPlugin.php
parent1ccc99ed8349a3318b799b485e80140643dfbe0c (diff)
downloadnextcloud-server-523fdb612c26281873d0dad6e193630de468b154.tar.gz
nextcloud-server-523fdb612c26281873d0dad6e193630de468b154.zip
Add room shares to DAV and recent files "share-types" property
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/SharesPlugin.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/SharesPlugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
index 825b9821a2a..990cc4a808f 100644
--- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
@@ -124,6 +124,7 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin {
\OCP\Share::SHARE_TYPE_LINK,
\OCP\Share::SHARE_TYPE_REMOTE,
\OCP\Share::SHARE_TYPE_EMAIL,
+ \OCP\Share::SHARE_TYPE_ROOM,
];
foreach ($requestedShareTypes as $requestedShareType) {
// one of each type is enough to find out about the types