summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-10-10 08:43:54 +0200
committerJoas Schilling <coding@schilljs.com>2019-10-10 08:43:54 +0200
commit4d40eb61b48ae15d614172d1cb7e17a33d911348 (patch)
treebb3569442e6f47580a3a2eb43ccca22d610b9086 /apps
parent0e06239ae144227598def41a1c4482d6b12385a6 (diff)
downloadnextcloud-server-4d40eb61b48ae15d614172d1cb7e17a33d911348.tar.gz
nextcloud-server-4d40eb61b48ae15d614172d1cb7e17a33d911348.zip
List share download activity under sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Activity/Filter.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Activity/Filter.php b/apps/files_sharing/lib/Activity/Filter.php
index ab1ad0c8145..e838ed293bf 100644
--- a/apps/files_sharing/lib/Activity/Filter.php
+++ b/apps/files_sharing/lib/Activity/Filter.php
@@ -83,7 +83,8 @@ class Filter implements IFilter {
public function filterTypes(array $types) {
return array_intersect([
self::TYPE_SHARED,
- self::TYPE_REMOTE_SHARE
+ self::TYPE_REMOTE_SHARE,
+ 'file_downloaded',
], $types);
}
@@ -92,6 +93,9 @@ class Filter implements IFilter {
* @since 11.0.0
*/
public function allowedApps() {
- return ['files_sharing'];
+ return [
+ 'files_sharing',
+ 'files_downloadactivity',
+ ];
}
}