summaryrefslogtreecommitdiff
path: root/internal/typeutils/converter.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-10-06 18:18:02 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-06 18:18:02 +0200
commit3dc7644ae6bdbfbae2e126896937e322247b5b33 (patch)
tree45487a241b439ce590863f68ea479d8dfd92ba28 /internal/typeutils/converter.go
parentfix logs not working properly (#264) (diff)
downloadgotosocial-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.go4
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.
//