aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/activitypub.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/activitypub.ts')
-rw-r--r--server/helpers/activitypub.ts4
1 files changed, 2 insertions, 2 deletions
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 <T> (data: T) {
10 'https://www.w3.org/ns/activitystreams', 10 'https://www.w3.org/ns/activitystreams',
11 'https://w3id.org/security/v1', 11 'https://w3id.org/security/v1',
12 { 12 {
13 'RsaSignature2017': 'https://w3id.org/security#RsaSignature2017',
13 'Hashtag': 'as:Hashtag', 14 'Hashtag': 'as:Hashtag',
14 'uuid': 'http://schema.org/identifier', 15 'uuid': 'http://schema.org/identifier',
15 'category': 'http://schema.org/category', 16 'category': 'http://schema.org/category',
@@ -17,8 +18,7 @@ function activityPubContextify <T> (data: T) {
17 'nsfw': 'as:sensitive', 18 'nsfw': 'as:sensitive',
18 'language': 'http://schema.org/inLanguage', 19 'language': 'http://schema.org/inLanguage',
19 'views': 'http://schema.org/Number', 20 'views': 'http://schema.org/Number',
20 'size': 'http://schema.org/Number', 21 'size': 'http://schema.org/Number'
21 'VideoChannel': 'https://peertu.be/ns/VideoChannel'
22 } 22 }
23 ] 23 ]
24 }) 24 })