An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: general notifications does not go through email channel
Andras Bacsaic915bf9c0f37
diff --git a/app/Traits/HasNotificationSettings.php b/app/Traits/HasNotificationSettings.phpindex 5a5ae1929a..82cbda6ada 100644--- a/app/Traits/HasNotificationSettings.php+++ b/app/Traits/HasNotificationSettings.php@@ -75,6 +75,10 @@ trait HasNotificationSettings'slack' => SlackChannel::class,];+ if ($event === 'general') {+ unset($channelMap['email']);+ }+foreach ($channelMap as $channel => $channelClass) {if ($this->isNotificationEnabled($channel) && $this->isNotificationTypeEnabled($channel, $event)) {$channels[] = $channelClass;