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)