Make final implementation correctly handle follower addressing
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
c58852bf89
commit
fa4bcf2ab3
|
@ -256,7 +256,7 @@ class ActivityPubHandler(SimpleHTTPRequestHandler):
|
|||
# Client sending an outgoing activity!
|
||||
list_append(username, 'outbox', activity)
|
||||
for to in activity['to']:
|
||||
if to == 'followers':
|
||||
if 'followers' in to
|
||||
# Tell all my followers!
|
||||
with open(f'users/{username}.followers') as f:
|
||||
for follower in load(f)['orderedItems']:
|
||||
|
|
Loading…
Reference in a new issue