From 40ec0490139db1c983291098350ad7dbe9ed253c Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 12 Jan 2024 18:12:22 +0100 Subject: [PATCH] add the next todo --- routers/api/v1/activitypub/repository.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index c09d093084..f6dd539521 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -218,6 +218,8 @@ func createFederationInfo(ctx *context.APIContext, actorID forgefed.ActorID) (fo if err != nil { return forgefed.FederationInfo{}, err } + // TODO: introduce a NewFederationInfo factory method here. + // it should convert host to lower-case. result := forgefed.FederationInfo{ HostFqdn: actorID.Host, NodeInfo: nodeInfo,