From 9cadc764b389df970c767608e7a061f3bd777dfa Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 27 Feb 2024 13:22:05 +0100 Subject: [feature] Add experimental `instance-federation-spam-filter` option (#2685) * [chore] Move `visibility` to `filter/visibility` * [feature] Add experimental instance-federation-spam-filter option --- internal/gtsmodel/tag.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/gtsmodel') diff --git a/internal/gtsmodel/tag.go b/internal/gtsmodel/tag.go index 514389f23..470bee094 100644 --- a/internal/gtsmodel/tag.go +++ b/internal/gtsmodel/tag.go @@ -27,4 +27,5 @@ type Tag struct { Name string `bun:",unique,nullzero,notnull"` // (lowercase) name of the tag without the hash prefix Useable *bool `bun:",nullzero,notnull,default:true"` // Tag is useable on this instance. Listable *bool `bun:",nullzero,notnull,default:true"` // Tagged statuses can be listed on this instance. + Href string `bun:"-"` // Href of the hashtag. Will only be set on freshly-extracted hashtags from remote AP messages. Not stored in the database. } -- cgit v1.2.3