summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-10 10:08:18 +0200
committerJoas Schilling <coding@schilljs.com>2020-09-10 10:08:18 +0200
commit7e1ca73261edca56d665967dab64b3bc5b015935 (patch)
tree7cee26925ca3e414b2d09fbc258f1f9a62a7f0fd /apps/files/lib
parent7fd505f881534625d2e83484b4dc0eebc9042141 (diff)
downloadnextcloud-server-7e1ca73261edca56d665967dab64b3bc5b015935.tar.gz
nextcloud-server-7e1ca73261edca56d665967dab64b3bc5b015935.zip
Allow to get activities for files by email again
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Activity/Settings/FileChanged.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/lib/Activity/Settings/FileChanged.php b/apps/files/lib/Activity/Settings/FileChanged.php
index d53b71c8e28..457d945df7f 100644
--- a/apps/files/lib/Activity/Settings/FileChanged.php
+++ b/apps/files/lib/Activity/Settings/FileChanged.php
@@ -48,11 +48,11 @@ class FileChanged extends FileActivitySettings {
* @since 11.0.0
*/
public function getPriority() {
- return 1;
+ return 2;
}
public function canChangeMail() {
- return false;
+ return true;
}
public function isDefaultEnabledMail() {
@@ -60,7 +60,7 @@ class FileChanged extends FileActivitySettings {
}
public function canChangeNotification() {
- return false;
+ return true;
}
public function isDefaultEnabledNotification() {