X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Factivitypub.ts;h=b6207c9153e15eac5f61ed35146ab621572bbde6;hb=ce33ee01cd3806201b676c318e9aa930032921b2;hp=5850fc19f36bd61c021c981dafdac715cc6b07dd;hpb=555846c99fa43b237814d32bd55d8124405187d3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts index 5850fc19f..b6207c915 100644 --- a/server/helpers/activitypub.ts +++ b/server/helpers/activitypub.ts @@ -10,6 +10,7 @@ function activityPubContextify (data: T) { 'https://www.w3.org/ns/activitystreams', 'https://w3id.org/security/v1', { + 'RsaSignature2017': 'https://w3id.org/security#RsaSignature2017', 'Hashtag': 'as:Hashtag', 'uuid': 'http://schema.org/identifier', 'category': 'http://schema.org/category', @@ -17,8 +18,7 @@ function activityPubContextify (data: T) { 'nsfw': 'as:sensitive', 'language': 'http://schema.org/inLanguage', 'views': 'http://schema.org/Number', - 'size': 'http://schema.org/Number', - 'VideoChannel': 'https://peertu.be/ns/VideoChannel' + 'size': 'http://schema.org/Number' } ] })