From 6f86236b6380f2df0b0e80582692874c7076e6ab Mon Sep 17 00:00:00 2001 From: Christian Meis Date: Wed, 28 Sep 2022 10:13:18 +0200 Subject: [PATCH] Add support for icon to ntfy notification provider (requires minimum ntfy server version 1.28.0 and Android app 1.14.0, no iOS support as of today) --- server/notification-providers/ntfy.js | 1 + src/components/notifications/Ntfy.vue | 5 +++++ src/languages/en.js | 1 + 3 files changed, 7 insertions(+) diff --git a/server/notification-providers/ntfy.js b/server/notification-providers/ntfy.js index 21f358f64..3d0095086 100644 --- a/server/notification-providers/ntfy.js +++ b/server/notification-providers/ntfy.js @@ -13,6 +13,7 @@ class Ntfy extends NotificationProvider { "message": msg, "priority": notification.ntfyPriority || 4, "title": "Uptime-Kuma", + "icon": notification.ntfyIcon || '', }); return okMsg; diff --git a/src/components/notifications/Ntfy.vue b/src/components/notifications/Ntfy.vue index d9a83b499..4728f8911 100644 --- a/src/components/notifications/Ntfy.vue +++ b/src/components/notifications/Ntfy.vue @@ -16,6 +16,11 @@ + +
+ + +