From 5e1720ed32f909578fdbb1d4c2b79cc45b52d841 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Thu, 7 May 2026 10:43:18 -0400 Subject: [PATCH] notify: use plain URL in Mattermost plugin metrics link Co-Authored-By: Claude Sonnet 4.6 --- hbd/server/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbd/server/notify.py b/hbd/server/notify.py index a630e92..8b401d2 100644 --- a/hbd/server/notify.py +++ b/hbd/server/notify.py @@ -209,7 +209,7 @@ def _send_mattermost(channel_cfg: dict, notif: Notification) -> bool: return False text = f"**{notif.title}**\n{notif.body}" if notif.url: - text += f"\n[Plugin metrics]({notif.url})" + text += f"\n[Plugin metrics] {notif.url}" ses = {"url": host, "scheme": "http", "basepath": "/api/v4", "port": 8065} mm = Driver(ses) payload: dict = {"text": text, "channel": channel, "username": channel_cfg.get("username", "hbd")}