diff options
author | 2023-06-17 17:49:11 +0200 | |
---|---|---|
committer | 2023-06-17 16:49:11 +0100 | |
commit | d8e16a226a570a7d262bdeb067273ce35b03cc7c (patch) | |
tree | 94a09ebe5501c01159efb8aa3e74d70da8db2f87 /internal/ap/activitystreams.go | |
parent | [bugfix] Accept non-multipart forms for account updates (#1896) (diff) | |
download | gotosocial-d8e16a226a570a7d262bdeb067273ce35b03cc7c.tar.xz |
[chore/bugfix] Refactor `ap/extract.go` functions, return URIs more reliably (#1897)
Diffstat (limited to 'internal/ap/activitystreams.go')
-rw-r--r-- | internal/ap/activitystreams.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/ap/activitystreams.go b/internal/ap/activitystreams.go index a434a6a07..e8a362800 100644 --- a/internal/ap/activitystreams.go +++ b/internal/ap/activitystreams.go @@ -69,4 +69,11 @@ const ( ObjectCollection = "Collection" // ActivityStreamsCollection https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection ObjectCollectionPage = "CollectionPage" // ActivityStreamsCollectionPage https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collectionpage ObjectOrderedCollection = "OrderedCollection" // ActivityStreamsOrderedCollection https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollection + + // Hashtag is not in the AS spec per se, but it tends to get used + // as though 'Hashtag' is a named type under the Tag property. + // + // See https://www.w3.org/TR/activitystreams-vocabulary/#microsyntaxes + // and https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag + TagHashtag = "Hashtag" ) |