diff options
author | 2021-08-26 11:28:16 +0200 | |
---|---|---|
committer | 2021-08-26 11:28:16 +0200 | |
commit | ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41 (patch) | |
tree | 08869fd4514e7ba67c57e81e001df0e1c329414c /internal/gtsmodel/domainblock.go | |
parent | Pg to bun (#148) (diff) | |
download | gotosocial-ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41.tar.xz |
fix public timeline bug (#150)
Diffstat (limited to 'internal/gtsmodel/domainblock.go')
-rw-r--r-- | internal/gtsmodel/domainblock.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gtsmodel/domainblock.go b/internal/gtsmodel/domainblock.go index 03d5ab0af..784e665a5 100644 --- a/internal/gtsmodel/domainblock.go +++ b/internal/gtsmodel/domainblock.go @@ -34,9 +34,9 @@ type DomainBlock struct { CreatedByAccountID string `bun:"type:CHAR(26),notnull"` CreatedByAccount *Account `bun:"rel:belongs-to"` // Private comment on this block, viewable to admins - PrivateComment string + PrivateComment string `bun:",nullzero"` // Public comment on this block, viewable (optionally) by everyone - PublicComment string + PublicComment string `bun:",nullzero"` // whether the domain name should appear obfuscated when displaying it publicly Obfuscate bool // if this block was created through a subscription, what's the subscription ID? |