feat: implement inbox forwarding (AP spec section 7.1.2) #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The AP spec (section 7.1.2) says servers SHOULD forward activities to members of collections mentioned in
to/cc/audiencewhen those members are on different servers. k-ap currently does not implement inbox forwarding — inbound activities are processed locally but never re-delivered to other servers that should receive them.This matters for multi-user instances where User A receives a reply addressed to
cc: [User B's followers collection]and User B's followers are on other servers.What needs to happen
When an inbound activity's
to/cc/audiencecontains a collection URL that belongs to a local user (e.g.https://example.com/users/{id}/followers):Scope
Not required for single-user instances
This is a SHOULD in the spec, not a MUST. Single-user instances (like movies-diary) don't need it since there's only one user whose collections matter.