forked from mirrors/bookwyrm
Fixes recipient logic
This commit is contained in:
parent
3681e79559
commit
1b91fb375f
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