diff options
author | 2024-09-17 21:22:45 +0200 | |
---|---|---|
committer | 2024-09-17 21:22:45 +0200 | |
commit | 95614fb298836feac49d0b3dbb6afa968626345b (patch) | |
tree | 501ab975ed0004694fa67136acc021bf462d6aa1 /internal | |
parent | [bugfix] Ensure id set on outgoing Reject + Accept (#3312) (diff) | |
download | gotosocial-95614fb298836feac49d0b3dbb6afa968626345b.tar.xz |
[bugfix] Fix incorrect policy value parsing (#3315)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ap/extract.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ap/extract.go b/internal/ap/extract.go index f69fb299e..f5486a051 100644 --- a/internal/ap/extract.go +++ b/internal/ap/extract.go @@ -1170,7 +1170,7 @@ func extractPolicyValues[T WithIRI]( case owner.FollowersURI: PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers) case owner.FollowingURI: - PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers) + PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowing) case owner.URI: PolicyValues = append(PolicyValues, gtsmodel.PolicyValueAuthor) default: |