summaryrefslogtreecommitdiff
path: root/internal/ap/activitystreams.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-10-08 10:51:13 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-08 08:51:13 +0000
commit1e421cb912a9bc8dc564b814984bcdad4a597ada (patch)
treeb62e67266b59c0952aed0aba93dcd1485777136a /internal/ap/activitystreams.go
parent[chore]: Bump golang.org/x/image from 0.20.0 to 0.21.0 (#3399) (diff)
downloadgotosocial-1e421cb912a9bc8dc564b814984bcdad4a597ada.tar.xz
[feature] Distribute + ingest Accepts to followers (#3404)
Diffstat (limited to 'internal/ap/activitystreams.go')
-rw-r--r--internal/ap/activitystreams.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/ap/activitystreams.go b/internal/ap/activitystreams.go
index a78b0b61d..8c53ae501 100644
--- a/internal/ap/activitystreams.go
+++ b/internal/ap/activitystreams.go
@@ -77,6 +77,10 @@ const (
// See https://www.w3.org/TR/activitystreams-vocabulary/#microsyntaxes
// and https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag
TagHashtag = "Hashtag"
+
+ // Not in the AS spec, just used internally to indicate
+ // that we don't *yet* know what type of Object something is.
+ ObjectUnknown = "Unknown"
)
// isActivity returns whether AS type name is of an Activity (NOT IntransitiveActivity).