mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 22:36:20 -06:00
[feature] Forward-compatibility with Approval objects
This commit is contained in:
parent
f9ff61ae4d
commit
1d831b7a3b
5 changed files with 449 additions and 123 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue