diff options
author | 2024-02-27 13:22:05 +0100 | |
---|---|---|
committer | 2024-02-27 12:22:05 +0000 | |
commit | 9cadc764b389df970c767608e7a061f3bd777dfa (patch) | |
tree | e49218fff3af5800b5305720a04a4f74e7b5c2cb /internal/gtsmodel/tag.go | |
parent | [chore]: Bump github.com/tdewolff/minify/v2 from 2.20.17 to 2.20.18 (#2689) (diff) | |
download | gotosocial-9cadc764b389df970c767608e7a061f3bd777dfa.tar.xz |
[feature] Add experimental `instance-federation-spam-filter` option (#2685)
* [chore] Move `visibility` to `filter/visibility`
* [feature] Add experimental instance-federation-spam-filter option
Diffstat (limited to 'internal/gtsmodel/tag.go')
-rw-r--r-- | internal/gtsmodel/tag.go | 1 |
1 files changed, 1 insertions, 0 deletions
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. } |