From 9934b6f31e0684e06171fe46ed170eda26cade90 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 May 2020 10:53:18 +0200 Subject: [PATCH] Add missing playlist and playlistElement types in AP context --- server/helpers/activitypub.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts index aeb8fde01..ce48fc543 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', -- 2.25.1