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

List share download activity under sharing
This commit is contained in:
Roeland Jago Douma 2019-10-15 00:21:54 +02:00 committed by GitHub
commit 7536caaff8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',
];
}
}