Allow disabling notifications
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user