summaryrefslogtreecommitdiff
path: root/internal/typeutils/astointernal.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-04-07 13:52:24 +0200
committerLibravatar GitHub <noreply@github.com>2025-04-07 12:52:24 +0100
commit6f24205a26bde03e73055fd7af369352103c390f (patch)
treea83d03a77267ac5452883868d4aca19b0c2114b6 /internal/typeutils/astointernal.go
parent[chore]: Bump github.com/minio/minio-go/v7 from 7.0.85 to 7.0.89 (#3977) (diff)
downloadgotosocial-6f24205a26bde03e73055fd7af369352103c390f.tar.xz
[bugfix] Don't assume `"manuallyApprovesFollowers": true` if not set (#3978)
* [bugfix] Don't assume `"manuallyApprovesFollowers": true` if not set * whoops, tests
Diffstat (limited to 'internal/typeutils/astointernal.go')
-rw-r--r--internal/typeutils/astointernal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/astointernal.go b/internal/typeutils/astointernal.go
index 80e1de378..59c696f11 100644
--- a/internal/typeutils/astointernal.go
+++ b/internal/typeutils/astointernal.go
@@ -154,7 +154,7 @@ func (c *Converter) ASRepresentationToAccount(
// Assume not memorial (todo)
acct.MemorializedAt = time.Time{}
- // Extract 'manuallyApprovesFollowers' aka locked account (default = true).
+ // Extract 'manuallyApprovesFollowers' aka locked account (default = false).
manuallyApprovesFollowers := ap.GetManuallyApprovesFollowers(accountable)
acct.Locked = &manuallyApprovesFollowers