From 8c526576adfcb17ebe3ebcb8ddaa4b3dcd7462ee Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 4 Jul 2023 02:43:29 +0300 Subject: [PATCH] fix repeated mentions --- files/helpers/alerts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 7fcc11b22..4967d63b5 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -92,9 +92,9 @@ def notif_comment(text): def notif_comment2(p): - text = f"@{p.author_name} has mentioned you: [{p.title}]({p.shortlink})" + text = f"@{p.author_name} has mentioned you: [{p.title}](/post/{p.id})" - search_html = f'% has mentioned you: