diff options
author | 2021-08-10 13:32:39 +0200 | |
---|---|---|
committer | 2021-08-10 13:32:39 +0200 | |
commit | 0f2de6394a1c52d47e326bb7d7d129a217ae4f6f (patch) | |
tree | e2709bdbbbbcf5e12d6da62b653b67f1789ab1c5 /internal/gtsmodel | |
parent | Frodo swaggins (#126) (diff) | |
download | gotosocial-0f2de6394a1c52d47e326bb7d7d129a217ae4f6f.tar.xz |
Dereference remote replies (#132)
* decided where to put reply dereferencing
* fiddling with dereferencing threads
* further adventures
* tidy up some stuff
* move dereferencing functionality
* a bunch of refactoring
* go fmt
* more refactoring
* bleep bloop
* docs and linting
* start implementing replies collection on gts side
* fiddling around
* allow dereferencing our replies
* lint, fmt
Diffstat (limited to 'internal/gtsmodel')
-rw-r--r-- | internal/gtsmodel/activitystreams.go | 4 | ||||
-rw-r--r-- | internal/gtsmodel/status.go | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/internal/gtsmodel/activitystreams.go b/internal/gtsmodel/activitystreams.go index 77c935c5f..5cd92015c 100644 --- a/internal/gtsmodel/activitystreams.go +++ b/internal/gtsmodel/activitystreams.go @@ -43,6 +43,10 @@ const ( ActivityStreamsTombstone = "Tombstone" // ActivityStreamsVideo https://www.w3.org/TR/activitystreams-vocabulary/#dfn-video ActivityStreamsVideo = "Video" + //ActivityStreamsCollection https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection + ActivityStreamsCollection = "Collection" + // ActivityStreamsCollectionPage https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collectionpage + ActivityStreamsCollectionPage = "CollectionPage" ) const ( diff --git a/internal/gtsmodel/status.go b/internal/gtsmodel/status.go index 524b9c3ef..106298bcd 100644 --- a/internal/gtsmodel/status.go +++ b/internal/gtsmodel/status.go @@ -18,7 +18,9 @@ package gtsmodel -import "time" +import ( + "time" +) // Status represents a user-created 'post' or 'status' in the database, either remote or local type Status struct { |