Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Federation] isActorAbleToBeFollower stops Friendica instances from following #90

Open
gudzpoz opened this issue Nov 16, 2023 · 0 comments

Comments

@gudzpoz
Copy link

gudzpoz commented Nov 16, 2023

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

func isActorAbleToBeFollower(actorID *url.URL) bool {
endingWithRelay := regexp.MustCompile(`/relay$`)
return endingWithRelay.MatchString(actorID.Path)
}

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant