mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 11:09:16 +02:00
Fixed follow autoapproval not working with "instance" visibility level
This commit is contained in:
parent
9d09e9f83c
commit
1345ba183c
2 changed files with 10 additions and 4 deletions
|
@ -103,7 +103,8 @@ def dispatch_outbox(activity):
|
|||
inbox_items = activity.inbox_items.filter(is_read=False).select_related()
|
||||
|
||||
if inbox_items.exists():
|
||||
dispatch_inbox.delay(activity_id=activity.pk, call_handlers=False)
|
||||
call_handlers = activity.type in ["Follow"]
|
||||
dispatch_inbox.delay(activity_id=activity.pk, call_handlers=call_handlers)
|
||||
|
||||
if not preferences.get("federation__enabled"):
|
||||
# federation is disabled, we only deliver to local recipients
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue