From: Chocobozzz Date: Wed, 13 May 2020 08:53:18 +0000 (+0200) Subject: Add missing playlist and playlistElement types in AP context X-Git-Tag: v2.2.0-rc.1~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9934b6f31e0684e06171fe46ed170eda26cade90;p=oweals%2Fpeertube.git Add missing playlist and playlistElement types in AP context --- 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',