yukimochi / Activity-Relay

Yet another powerful customizable ActivityPub relay server written in Go.
https://relay.toot.yukimochi.jp/
GNU Affero General Public License v3.0
278 stars 39 forks source link

[Federation] `isActorAbleToBeFollower` stops Friendica instances from following #90

Open gudzpoz opened 7 months ago

gudzpoz commented 7 months ago

The current implementation requires the following server actor to have an id ending in /relay:

https://github.com/yukimochi/Activity-Relay/blob/7f942e79cbd845374b7ca5261b64725ac1b2b752/api/resolver.go#L185-L188

However, Friendica allows setting different actor names for the server actor, thus making it impossible for instances with a "wrong" server actor name to connect to Activity-Relay (using LitePub relay style).

I cannot find any documentation or speficication on ActivityPub relays, is it really necessary that actors be named relay?