From ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 26 Aug 2021 11:28:16 +0200 Subject: fix public timeline bug (#150) --- internal/gtsmodel/domainblock.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/gtsmodel/domainblock.go') 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? -- cgit v1.2.3