diff options
author | 2025-02-19 18:09:54 +0100 | |
---|---|---|
committer | 2025-02-19 18:09:54 +0100 | |
commit | 96716e4f43341beb3431a7caad10d48e6ca844ae (patch) | |
tree | 49e0771a80c5ecdf2cfc42969036fa6044382209 /internal/ap/activitystreams.go | |
parent | adds more code comments and some small code formatting tweaks (#3799) (diff) | |
download | gotosocial-96716e4f43341beb3431a7caad10d48e6ca844ae.tar.xz |
[feature] Forward-compatibility with Approval objects (#3807)
* vendor
* [feature] Forward-compatibility with Approval objects
* vendor the thing
* fix leetle bug
* lil syntax tweak for beloved kimb
Diffstat (limited to 'internal/ap/activitystreams.go')
-rw-r--r-- | internal/ap/activitystreams.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/ap/activitystreams.go b/internal/ap/activitystreams.go index 50955ce2c..3851d0efb 100644 --- a/internal/ap/activitystreams.go +++ b/internal/ap/activitystreams.go @@ -97,6 +97,11 @@ const ( // Not in the AS spec, just used internally to indicate // that we don't *yet* know what type of Object something is. ObjectUnknown = "Unknown" + + // Extensions and unofficial additions. + ObjectLikeApproval = "LikeApproval" + ObjectReplyApproval = "ReplyApproval" + ObjectAnnounceApproval = "AnnounceApproval" ) // isActivity returns whether AS type name is of an Activity (NOT IntransitiveActivity). |