notifications: clear email status when message is empty
This commit is contained in:
+1
-1
@@ -629,7 +629,7 @@ async function checkConfiguration() {
|
||||
|
||||
if (markdownMessage) markdownMessage += 'Email Status is checked every 30 minutes.\n See the [troubleshooting docs](https://docs.cloudron.io/troubleshooting/#mail-dns) for more information.\n';
|
||||
|
||||
return markdownMessage; // empty message means all status checks succeeded
|
||||
return { status: markdownMessage === '', message: markdownMessage };
|
||||
}
|
||||
|
||||
async function createMailConfig(mailFqdn) {
|
||||
|
||||
Reference in New Issue
Block a user