]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow to get activities for files by email again 22765/head
authorJoas Schilling <coding@schilljs.com>
Thu, 10 Sep 2020 08:08:18 +0000 (10:08 +0200)
committerJoas Schilling <coding@schilljs.com>
Thu, 10 Sep 2020 08:08:18 +0000 (10:08 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files/lib/Activity/Settings/FileChanged.php

index d53b71c8e287075566f09f00516ed42952150ccd..457d945df7f0a6deee69b9640921f0ddd968c7af 100644 (file)
@@ -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() {