diff options
author | 2024-03-28 12:10:16 +0100 | |
---|---|---|
committer | 2024-03-28 12:10:16 +0100 | |
commit | 4f66dba1393808993e1fa38e81af5a65006d6072 (patch) | |
tree | f55e884607e9301e97b63e436334c647ff06b71d /internal/processing/fedi | |
parent | [chore/frontend] Adjust contrast, mute blurple a bit (#2785) (diff) | |
download | gotosocial-4f66dba1393808993e1fa38e81af5a65006d6072.tar.xz |
[bugfix] Serve correct URI for AP following collection (#2787)
Diffstat (limited to 'internal/processing/fedi')
-rw-r--r-- | internal/processing/fedi/collections.go | 4 |
1 files 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) |