From: Chocobozzz Date: Fri, 12 Jan 2018 14:58:43 +0000 (+0100) Subject: Add commentsEnabled field to AS context X-Git-Tag: v0.0.1-alpha~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0af3182bf77aac7fc0a122d559ccb1941e75db23;p=oweals%2Fpeertube.git Add commentsEnabled field to AS context --- diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts index b6207c915..a19726beb 100644 --- a/server/helpers/activitypub.ts +++ b/server/helpers/activitypub.ts @@ -18,7 +18,8 @@ function activityPubContextify (data: T) { 'nsfw': 'as:sensitive', 'language': 'http://schema.org/inLanguage', 'views': 'http://schema.org/Number', - 'size': 'http://schema.org/Number' + 'size': 'http://schema.org/Number', + 'commentsEnabled': 'http://schema.org/Boolean' } ] })