diff options
author | 2021-10-06 18:18:02 +0200 | |
---|---|---|
committer | 2021-10-06 18:18:02 +0200 | |
commit | 3dc7644ae6bdbfbae2e126896937e322247b5b33 (patch) | |
tree | 45487a241b439ce590863f68ea479d8dfd92ba28 /internal/typeutils/converter.go | |
parent | fix logs not working properly (#264) (diff) | |
download | gotosocial-3dc7644ae6bdbfbae2e126896937e322247b5b33.tar.xz |
Derive visibility fixes (#271)
* use pub public const
* don't error on no summary
* move extract visibility to separate function
* extract visibility test
* add addressable interface
Diffstat (limited to 'internal/typeutils/converter.go')
-rw-r--r-- | internal/typeutils/converter.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/typeutils/converter.go b/internal/typeutils/converter.go index 4515fcbf0..d702c1ae7 100644 --- a/internal/typeutils/converter.go +++ b/internal/typeutils/converter.go @@ -32,10 +32,6 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" ) -const ( - asPublicURI = "https://www.w3.org/ns/activitystreams#Public" -) - // TypeConverter is an interface for the common action of converting between apimodule (frontend, serializable) models, // internal gts models used in the database, and activitypub models used in federation. // |