Add missing playlist and playlistElement types in AP context
authorChocobozzz <me@florianbigard.com>
Wed, 13 May 2020 08:53:18 +0000 (10:53 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 13 May 2020 08:53:18 +0000 (10:53 +0200)
server/helpers/activitypub.ts

index aeb8fde01f5575ea9f9f90ea57351fd58f4d43d9..ce48fc5438c8fbaa53cf98f62080d95024306505 100644 (file)
@@ -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',