Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add missing playlist and playlistElement types in AP context

Chocobozzz9934b6f31e06
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index aeb8fde01f..ce48fc5438 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -40,6 +40,9 @@ function getContextData (type: ContextType) {
language: 'sc:inLanguage',
Infohash: 'pt:Infohash',
+ Playlist: 'pt:Playlist',
+ PlaylistElement: 'pt:PlaylistElement',
+
originallyPublishedAt: 'sc:datePublished',
views: {
'@type': 'sc:Number',