mirror of
https://github.com/Casvt/MIND.git
synced 2026-04-03 03:00:22 -04:00
Fixed sending body-less reminders after dep update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user