Skip to content
Snippets Groups Projects
Unverified Commit 7536caaf authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #17501 from nextcloud/bugfix/fad-48/list-share-downloads-under-sharing

List share download activity under sharing
parents 40eb9fae 4d40eb61
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,8 @@ class Filter implements IFilter { ...@@ -83,7 +83,8 @@ class Filter implements IFilter {
public function filterTypes(array $types) { public function filterTypes(array $types) {
return array_intersect([ return array_intersect([
self::TYPE_SHARED, self::TYPE_SHARED,
self::TYPE_REMOTE_SHARE self::TYPE_REMOTE_SHARE,
'file_downloaded',
], $types); ], $types);
} }
...@@ -92,6 +93,9 @@ class Filter implements IFilter { ...@@ -92,6 +93,9 @@ class Filter implements IFilter {
* @since 11.0.0 * @since 11.0.0
*/ */
public function allowedApps() { public function allowedApps() {
return ['files_sharing']; return [
'files_sharing',
'files_downloadactivity',
];
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment