debug!("Sending activitypub activity {} to {:?}", json, to);
- // TODO it needs to expand, the to field needs to expand and dedup the followers urls
- // The inbox is determined by first retrieving the target actor's JSON-LD representation and then looking up the inbox property. If a recipient is a Collection or OrderedCollection, then the server MUST dereference the collection (with the user's credentials) and discover inboxes for each item in the collection. Servers MUST limit the number of layers of indirections through collections which will be performed, which MAY be one.