publish fix

This commit is contained in:
Aevann1 2021-10-29 18:05:50 +02:00
parent 09db8252b8
commit 00cb86cc1b

View file

@ -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)