Merge pull request #3156 from maximilian-krauss/feat/add-pushover-ttl

feat: Adds message ttl to pushover notification
This commit is contained in:
Louis Lam
2023-05-26 18:18:24 +08:00
committed by GitHub
5 changed files with 8 additions and 0 deletions

View File

@@ -24,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) {