mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-21 07:36:42 +00:00
Fixes recipient logic
This commit is contained in:
parent
12cfa12c17
commit
3c4f2303d9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def broadcast(sender, activity, software=None, \
|
|||
recipients = [u.inbox for u in direct_recipients or []]
|
||||
# TODO: other kinds of privacy
|
||||
if privacy == 'public':
|
||||
recipients = get_public_recipients(sender, software=software)
|
||||
recipients += get_public_recipients(sender, software=software)
|
||||
broadcast_task.delay(sender.id, activity, recipients)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue