summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel/account.go')
-rw-r--r--internal/gtsmodel/account.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go
index 664f1f66a..8b2de6b23 100644
--- a/internal/gtsmodel/account.go
+++ b/internal/gtsmodel/account.go
@@ -272,6 +272,16 @@ type Account struct {
//
// Local accounts only.
Stats *AccountStats `bun:"-"`
+
+ // True if the actor hides to-public statusables
+ // from unauthenticated public access via the web.
+ // Default "false" if not set on the actor model.
+ HidesToPublicFromUnauthedWeb *bool `bun:",nullzero,notnull,default:false"`
+
+ // True if the actor hides cc-public statusables
+ // from unauthenticated public access via the web.
+ // Default "true" if not set on the actor model.
+ HidesCcPublicFromUnauthedWeb *bool `bun:",nullzero,notnull,default:true"`
}
// UsernameDomain returns account @username@domain (missing domain if local).