diff --git a/db/messages.php b/db/messages.php index 07d89819..6684672f 100644 --- a/db/messages.php +++ b/db/messages.php @@ -30,7 +30,8 @@ 'ical_notifications' => [ 'defaults' => [ 'popup' => MESSAGE_DISALLOWED, - 'email' => MESSAGE_PERMITTED, + 'email' => MESSAGE_PERMITTED + (defined('MESSAGE_DEFAULT_ENABLED') ? + MESSAGE_DEFAULT_ENABLED : MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF), 'airnotifier' => MESSAGE_DISALLOWED, ], ],