From 4f66dba1393808993e1fa38e81af5a65006d6072 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:10:16 +0100 Subject: [PATCH] [bugfix] Serve correct URI for AP following collection (#2787) --- internal/processing/fedi/collections.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/processing/fedi/collections.go b/internal/processing/fedi/collections.go index ccca10754..282180862 100644 --- a/internal/processing/fedi/collections.go +++ b/internal/processing/fedi/collections.go @@ -279,9 +279,9 @@ func (p *Processor) FollowingGet(ctx context.Context, requestedUser string, page // Set the collection item property builder function. pageParams.Append = func(i int, itemsProp ap.ItemsPropertyBuilder) { - // Get follower URI at index. + // Get followed URI at index. follow := follows[i] - accURI := follow.Account.URI + accURI := follow.TargetAccount.URI // Parse URL object from URI. iri, err := url.Parse(accURI)