improve default notification fallback

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2020-07-21 17:40:22 +02:00
parent fb5ae20722
commit aa051875f9
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 1 deletions

View File

@ -74,6 +74,6 @@ abstract class ActivitySettings {
* @since 20.0.0
*/
public function isDefaultEnabledNotification() {
return $this->isDefaultEnabledMail();
return $this->isDefaultEnabledMail() && !$this->canChangeMail();
}
}