aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Activity
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Activity')
-rw-r--r--lib/public/Activity/ActivitySettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Activity/ActivitySettings.php b/lib/public/Activity/ActivitySettings.php
index c25e8d2c9f0..4c96b831992 100644
--- a/lib/public/Activity/ActivitySettings.php
+++ b/lib/public/Activity/ActivitySettings.php
@@ -74,6 +74,6 @@ abstract class ActivitySettings {
* @since 20.0.0
*/
public function isDefaultEnabledNotification() {
- return $this->isDefaultEnabledMail();
+ return $this->isDefaultEnabledMail() && !$this->canChangeMail();
}
}