From 96716e4f43341beb3431a7caad10d48e6ca844ae Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:09:54 +0100 Subject: [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 --- .../activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/superseriousbusiness/activity/streams/impl/toot') diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go index 8cb8b993c..9cea5ba87 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go @@ -181,7 +181,7 @@ func DeserializeHashtag(m map[string]interface{}, aliasMap map[string]string) (* // HashtagIsDisjointWith returns true if the other provided type is disjoint with // the Hashtag type. func HashtagIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true -- cgit v1.3