From ce33ee01cd3806201b676c318e9aa930032921b2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Dec 2017 11:53:04 +0100 Subject: Use RsaSignature2017 --- server/helpers/activitypub.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/helpers/activitypub.ts') 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' } ] }) -- cgit v1.2.3