mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:18:52 +00:00
[bugfix] Serve correct URI for AP following collection
This commit is contained in:
parent
ac3f195b56
commit
9bc01e4ce5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue