diff options
author | Robin Appelman <robin@icewind.nl> | 2020-07-21 17:40:22 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-07-21 17:40:22 +0200 |
commit | aa051875f9588306c9636e3622518fab3e942f5e (patch) | |
tree | 681a1e5993b53e407cd3a929b2ac5f614547fbf7 /lib/public/Activity | |
parent | fb5ae20722a29890535296c8871a2edf4201289d (diff) | |
download | nextcloud-server-aa051875f9588306c9636e3622518fab3e942f5e.tar.gz nextcloud-server-aa051875f9588306c9636e3622518fab3e942f5e.zip |
improve default notification fallback
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Activity')
-rw-r--r-- | lib/public/Activity/ActivitySettings.php | 2 |
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(); } } |