Change hostname for group mail notification (#6253)
Auto Test / check-linters (push) Has been cancelled
Auto Test / auto-test (16, macos-latest) (push) Has been cancelled
Auto Test / auto-test (16, ARM64) (push) Has been cancelled
Auto Test / auto-test (16, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (16, windows-latest) (push) Has been cancelled
Auto Test / auto-test (20.5, ARM64) (push) Has been cancelled
Auto Test / auto-test (20.5, macos-latest) (push) Has been cancelled
Auto Test / auto-test (20.5, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (20.5, windows-latest) (push) Has been cancelled
Auto Test / armv7-simple-test (16, ARMv7) (push) Has been cancelled
Auto Test / armv7-simple-test (20.5, ARMv7) (push) Has been cancelled
Auto Test / e2e-tests (push) Has been cancelled
Auto Test / frontend-unit-tests (push) Has been cancelled

This commit is contained in:
Max Michels
2025-10-25 11:52:12 +02:00
committed by GitHub
parent 40ec715853
commit e419433ae4
+2
View File
@@ -69,6 +69,8 @@ class SMTP extends NotificationProvider {
if (monitorJSON["type"] === "http" || monitorJSON["type"] === "keyword" || monitorJSON["type"] === "json-query") {
monitorHostnameOrURL = monitorJSON["url"];
} else if (monitorJSON["type"] === "group") {
monitorHostnameOrURL = "Group: " + monitorJSON["name"];
} else {
monitorHostnameOrURL = monitorJSON["hostname"];
}