diff --git a/apps/files/lib/Activity/Settings/FavoriteAction.php b/apps/files/lib/Activity/Settings/FavoriteAction.php index 8c43b68ef8835..3c6ceb2395916 100644 --- a/apps/files/lib/Activity/Settings/FavoriteAction.php +++ b/apps/files/lib/Activity/Settings/FavoriteAction.php @@ -55,7 +55,7 @@ public function getPriority() { * @since 11.0.0 */ public function canChangeStream() { - return true; + return false; } /** @@ -71,7 +71,7 @@ public function isDefaultEnabledStream() { * @since 11.0.0 */ public function canChangeMail() { - return true; + return false; } /** @@ -81,4 +81,12 @@ public function canChangeMail() { public function isDefaultEnabledMail() { return false; } + + /** + * @return bool True when the option can be changed for the notification + * @since 20.0.0 + */ + public function canChangeNotification() { + return false; + } }