From e81a69cffdea2f52d5e77cbb59794772c746ca2e Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 28 Feb 2026 23:54:06 +0100 Subject: [PATCH] fix: use message as link source fallback --- client/dispatch-query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dispatch-query.py b/client/dispatch-query.py index 0048c18..03f4562 100755 --- a/client/dispatch-query.py +++ b/client/dispatch-query.py @@ -62,7 +62,7 @@ def ntfy_send(dispatch_uuid, user_topic, title, message, link, # check message for links # if not link: pattern = r"https:\/\/[^\s]+" - match = re.search(pattern, text) + match = re.search(pattern, message) if match: link = match.group(0)