From 24633263de6e61d7d25c4d27532f80bc73b61b99 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 3 Nov 2021 19:28:45 +0200 Subject: [PATCH] sfdsdf --- 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 caade1dbb..e2a03569c 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -68,7 +68,7 @@ def publish(pid, v): if request.host == 'rdrama.net' and 'aevann' in f'{post.body_html}{post.title}'.lower() and 1 not in notify_users: notify_users.add(1) - for x in notify_users: send_notification(x, f"@{v.username} has mentioned you: http://{site}{new_post.permalink}") + for x in notify_users: send_notification(x, f"@{v.username} has mentioned you: http://{site}{post.permalink}") for follow in v.followers: user = get_account(follow.user_id)