Ktistec::Recipients
Recipient expansion and partitioning shared by tasks and processors.
Class methods
Expands an outbound activity's recipient fields into a sorted, deduplicated list of actor IRIs reachable from this server.
The sender is never included in the output -- actors don't deliver to themselves.
Expands an inbound activity's recipient fields into a sorted, deduplicated list of actor IRIs reachable from this server.
Returns the remote actors an inbound activity must be forwarded
to, paired with the local account on whose behalf the transfer
is made, or nil if there is nothing to forward.
Reads to and cc only. audience is resolver-only.
Returns the local accounts an inbound activity implicates.
Recipients come from two sources, unioned: the activity's explicit addressing and the recipient implied by the activity's type.
Splits IRIs into local recipients (paired with their Account)
and remote recipients.
IRIs that don't resolve to a local actor with an account fall through to the remote bucket.
Returns true if the receiver is a recipient of the inbound activity.
Returns true if the receiver is the actor the inbound activity implicates by virtue of its type.