From a2019ff48fc6fe17cd6d7e1f9800f8d653717b96 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 2 Mar 2022 06:25:45 +0200 Subject: [PATCH] hodor --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 68ceb86f2..62c6dcc1b 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -577,7 +577,7 @@ def edit_post(pid, v): if not p.private and not p.ghost: notify_users = NOTIFY_USERS(f'{title} {body}', v) if notify_users: - cid = notif_comment(f"@{v.username} has mentioned you: [{SITE_FULL}/post/{post.id}](/post/{post.id})") + cid = notif_comment(f"@{v.username} has mentioned you: [{SITE_FULL}/post/{p.id}](/post/{p.id})") for x in notify_users: add_notif(cid, x)