From 4ade193d6cb7a80ae99b86560c3820280d2c65ad Mon Sep 17 00:00:00 2001 From: Simounet Date: Thu, 9 Nov 2023 22:59:59 +0100 Subject: [PATCH 1/2] Mastodon ontology: indexable and memorial attributes added --- src/ActivityPhp/Type/Ontology/Mastodon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ActivityPhp/Type/Ontology/Mastodon.php b/src/ActivityPhp/Type/Ontology/Mastodon.php index a76f869..b2da76b 100644 --- a/src/ActivityPhp/Type/Ontology/Mastodon.php +++ b/src/ActivityPhp/Type/Ontology/Mastodon.php @@ -42,7 +42,9 @@ abstract class Mastodon extends OntologyBase 'discoverable', 'featured', 'featuredTags', + 'indexable', 'manuallyApprovesFollowers', + 'memorial', ], 'PropertyValue' => [ 'value' From f89a00c747d275d693c8ac8709ae31e2693f4325 Mon Sep 17 00:00:00 2001 From: Simounet Date: Thu, 9 Nov 2023 23:00:47 +0100 Subject: [PATCH 2/2] Mastodon ontology: Service type added for bots --- src/ActivityPhp/Type/Ontology/Mastodon.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ActivityPhp/Type/Ontology/Mastodon.php b/src/ActivityPhp/Type/Ontology/Mastodon.php index b2da76b..68e5f84 100644 --- a/src/ActivityPhp/Type/Ontology/Mastodon.php +++ b/src/ActivityPhp/Type/Ontology/Mastodon.php @@ -49,5 +49,16 @@ abstract class Mastodon extends OntologyBase 'PropertyValue' => [ 'value' ], + 'Service' => [ + 'devices', + 'discoverable', + 'featured', + 'featuredTags', + 'indexable', + 'key_id_url', + 'manuallyApprovesFollowers', + 'memorial', + 'private_key', + ] ]; }