diff --git a/handler/ux/notify.py b/handler/ux/notify.py index cf0caca..158a1b3 100644 --- a/handler/ux/notify.py +++ b/handler/ux/notify.py @@ -12,6 +12,8 @@ class Notify(util.Base): """ def sendmsg(self, msg, title=None, priority=None, tags=None): + if settings.Notify.Enabled == "0": + return headers = {"Title": "Bot"} if title: headers["Title"] = title