mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-25 11:42:11 +00:00
[bugfix] Fix incorrect policy value parsing (#3315)
This commit is contained in:
parent
4bd5e68b2b
commit
95614fb298
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue