Fixed sending body-less reminders after dep update

This commit is contained in:
CasVT
2024-03-09 17:21:10 +01:00
parent 48c774f322
commit 909b7011e4
2 changed files with 3 additions and 3 deletions

View File

@@ -654,7 +654,7 @@ class Reminders:
raise NotificationServiceNotFound
a.add(url[0])
a.notify(title=title, body=text)
a.notify(title=title, body=text or '\u200B')
return
@@ -717,7 +717,7 @@ class ReminderHandler(metaclass=Singleton):
a = Apprise()
for url in cursor:
a.add(url['url'])
a.notify(title=reminder["title"], body=reminder["text"])
a.notify(title=reminder["title"], body=reminder["text"] or '\u200B')
self.thread = None
self.time = None

View File

@@ -352,5 +352,5 @@ class StaticReminders:
)
for url in cursor:
a.add(url['url'])
a.notify(title=reminder['title'], body=reminder['text'])
a.notify(title=reminder['title'], body=reminder['text'] or '\u200B')
return