Re: How Does Message Routing work w/ ActivityPub

> On Oct 10, 2024, at 2:53 AM, Marcus Rohrmoser <me.swicg@mro.name> wrote:
> 
> On Wed, 9 Oct 2024 13:47:29 +0000
> mfidelman protocoltechnologiesgroup.com <mfidelman@protocoltechnologiesgroup.com> wrote:
> 
>> I've been looking, but I can't find a good description of how posts propagate across the Fediverse.
> 
> Because they don't. They go straight from sender to recipient.
> 

This is generally discussed in the context of inReplyTo messages so that people have a somewhat complete
reply chain.

A very old discussion https://mastodon.social/@Gargron/16244786 and the current implementation that mastodon uses

https://github.com/mastodon/mastodon/blob/main/app/lib/activitypub/forwarder.rb

A server can forward a message to another server under certain conditions:

- Addressed to the “public” i.e. to or cc has https://www.w3.org/ns/activitystreams#Public
- Has a json-ld signature

If the message is a reply to a local account to forward the followers of that original poster.
Forward message to the followers of any local account that reblogged the original message.

> /Marcus

Received on Thursday, 10 October 2024 16:08:39 UTC