From f185391ed25f08ae801c28dd5eefb4853ff82f68 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 18 May 2023 14:21:55 -0700 Subject: [PATCH] s/when/if --- src/tattler/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tattler/core.clj b/src/tattler/core.clj index 517b6b7..5a48be7 100644 --- a/src/tattler/core.clj +++ b/src/tattler/core.clj @@ -34,7 +34,7 @@ (if note-msg (let [note (:payload note-msg)] (if (t/validate Notification note) - (when (>= (:urgency note) urgency-threshold) + (if (>= (:urgency note) urgency-threshold) (notify/send-notification! mqtt-client (-> note (assoc :app app)