From 00cb86cc1b29cace624525386c7ae46ee7e7ded5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 29 Oct 2021 18:05:50 +0200 Subject: [PATCH] publish fix --- 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 a6d7923d4..335a93dd8 100755 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -72,7 +72,7 @@ def publish(pid, v): for follow in v.followers: user = get_account(follow.user_id) - send_notification(user, f"@{v.username} has made a new post: [{post.title}](http://{site}{post.permalink})", True) + send_notification(user.id, f"@{v.username} has made a new post: [{post.title}](http://{site}{post.permalink})", True) cache.delete_memoized(frontlist)