From 4d40eb61b48ae15d614172d1cb7e17a33d911348 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 10 Oct 2019 08:43:54 +0200 Subject: List share download activity under sharing Signed-off-by: Joas Schilling --- apps/files_sharing/lib/Activity/Filter.php | 8 ++++++-- 1 file 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', + ]; } } -- cgit v1.2.3