From 085db0c1279ffdfe3c4f940aca8520fe57c67f71 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 7 Dec 2023 10:51:58 +0100 Subject: [PATCH] Remove todo --- models/activitypub/actor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/activitypub/actor.go b/models/activitypub/actor.go index 44a4a125e8..23f7fc11be 100644 --- a/models/activitypub/actor.go +++ b/models/activitypub/actor.go @@ -92,7 +92,7 @@ func (a ActorID) GetUserId() int { return result } -func (a ActorID) GetNormalizedUri() string { // ToDo: Port might be empty +func (a ActorID) GetNormalizedUri() string { result := fmt.Sprintf("%s://%s:%s/%s/%s", a.schema, a.host, a.port, a.path, a.userId) return result }