diff --git a/server/notification-providers/pushover.js b/server/notification-providers/pushover.js index 5f68bb8f6..b9899e4db 100644 --- a/server/notification-providers/pushover.js +++ b/server/notification-providers/pushover.js @@ -16,7 +16,6 @@ class Pushover extends NotificationProvider { "sound": notification.pushoversounds, "priority": notification.pushoverpriority, "title": notification.pushovertitle, - "ttl": notification.pushoverttl, "retry": "30", "expire": "3600", "html": 1, @@ -25,6 +24,9 @@ class Pushover extends NotificationProvider { if (notification.pushoverdevice) { data.device = notification.pushoverdevice; } + if (notification.pushoverttl) { + data.ttl = notification.pushoverttl; + } try { if (heartbeatJSON == null) {