projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
089af69
)
Add missing playlist and playlistElement types in AP context
author
Chocobozzz
<me@florianbigard.com>
Wed, 13 May 2020 08:53:18 +0000
(10:53 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 13 May 2020 08:53:18 +0000
(10:53 +0200)
server/helpers/activitypub.ts
patch
|
blob
|
history
diff --git
a/server/helpers/activitypub.ts
b/server/helpers/activitypub.ts
index aeb8fde01f5575ea9f9f90ea57351fd58f4d43d9..ce48fc5438c8fbaa53cf98f62080d95024306505 100644
(file)
--- 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',