mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-24 20:56:39 +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:
|
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:
|
||||||
|
|
Loading…
Reference in a new issue