From d5540ee2da78829148d959e96594a91b28e6fc0c Mon Sep 17 00:00:00 2001 From: landrok Date: Wed, 3 Apr 2024 09:01:35 +0200 Subject: [PATCH] [Fix] Peertube Ontology: add some Video, Person and Link attributes, and new Infohash type --- src/ActivityPhp/Type/Ontology/Peertube.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ActivityPhp/Type/Ontology/Peertube.php b/src/ActivityPhp/Type/Ontology/Peertube.php index d2ba567..90be5a9 100644 --- a/src/ActivityPhp/Type/Ontology/Peertube.php +++ b/src/ActivityPhp/Type/Ontology/Peertube.php @@ -35,11 +35,14 @@ abstract class Peertube extends OntologyBase 'waitTranscoding', 'state', 'commentsEnabled', 'support', 'subtitleLanguage', 'likes', 'dislikes', 'shares', 'comments', 'licence', - 'downloadEnabled', 'originallyPublishedAt' + 'downloadEnabled', 'originallyPublishedAt', + 'url', 'isLiveBroadcast', 'liveSaveReplay', 'permanentLive', + 'latencyMode' ], 'Image' => ['width', 'height'], - 'Link' => ['fps', 'mimeType', 'size' ], + 'Link' => ['fps', 'mimeType', 'size', 'tag' ], 'Hashtag' => ['type'], - 'Person|Group' => ['uuid', 'publicKey', 'playlists'], + 'Infohash' => ['name'], + 'Person|Group' => ['uuid', 'publicKey', 'playlists', 'icons'], ]; }