Allow disabling notifications

This commit is contained in:
2023-02-09 07:20:07 +00:00
parent c356f58d8a
commit 2a034a16e7
3 changed files with 7 additions and 0 deletions

View File

@@ -95,6 +95,9 @@ def sendmsg(**kwargs):
return
service = notification_settings.get("service")
if service == "none":
# Don't send anything
return
if service == "ntfy":
ntfy_sendmsg(**kwargs)