mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Fix incorrect policy value parsing (#3315)
This commit is contained in:
@@ -1170,7 +1170,7 @@ func extractPolicyValues[T WithIRI](
|
|||||||
case owner.FollowersURI:
|
case owner.FollowersURI:
|
||||||
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers)
|
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers)
|
||||||
case owner.FollowingURI:
|
case owner.FollowingURI:
|
||||||
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers)
|
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowing)
|
||||||
case owner.URI:
|
case owner.URI:
|
||||||
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueAuthor)
|
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueAuthor)
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user