Skip to content

[Federation] isActorAbleToBeFollower stops Friendica instances from following #90

Description

@gudzpoz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions