mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
debug #20
This commit is contained in:
parent
01d4b2678c
commit
dc89405d05
1 changed files with 1 additions and 1 deletions
|
@ -1534,7 +1534,7 @@ def notify_about_post(post: Post):
|
||||||
|
|
||||||
# Send notifications based on subscriptions
|
# Send notifications based on subscriptions
|
||||||
notifications_sent_to = set()
|
notifications_sent_to = set()
|
||||||
send_notifs_to = set(notification_subscribers(post.author_id, NOTIF_USER) +
|
send_notifs_to = set(notification_subscribers(post.user_id, NOTIF_USER) +
|
||||||
notification_subscribers(post.community_id, NOTIF_COMMUNITY) +
|
notification_subscribers(post.community_id, NOTIF_COMMUNITY) +
|
||||||
notification_subscribers(post.community.topic_id, NOTIF_TOPIC))
|
notification_subscribers(post.community.topic_id, NOTIF_TOPIC))
|
||||||
for notify_id in send_notifs_to:
|
for notify_id in send_notifs_to:
|
||||||
|
|
Loading…
Add table
Reference in a new issue