improve default notification fallback
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
fb5ae20722
commit
aa051875f9
|
@ -74,6 +74,6 @@ abstract class ActivitySettings {
|
|||
* @since 20.0.0
|
||||
*/
|
||||
public function isDefaultEnabledNotification() {
|
||||
return $this->isDefaultEnabledMail();
|
||||
return $this->isDefaultEnabledMail() && !$this->canChangeMail();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue