Fixes recipient logic

This commit is contained in:
Mouse Reeve 2020-05-04 14:15:16 -07:00
parent 12cfa12c17
commit 3c4f2303d9

View file

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