mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
Don't broadcast yourself
This commit is contained in:
parent
aeb648a8d5
commit
c969e5550e
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ def get_recipients(user, post_privacy, direct_recipients=None, limit=False):
|
|||
fedireads_user = limit == 'fedireads'
|
||||
followers = user.followers.filter(fedireads_user=fedireads_user).all()
|
||||
|
||||
# we don't need to broadcast to ourself
|
||||
followers = followers.filter(local=False)
|
||||
|
||||
# TODO I don't think this is actually accomplishing pubic/followers only?
|
||||
if post_privacy == 'public':
|
||||
# post to public shared inboxes
|
||||
|
|
Loading…
Reference in a new issue