From 0af3182bf77aac7fc0a122d559ccb1941e75db23 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Jan 2018 15:58:43 +0100 Subject: [PATCH] Add commentsEnabled field to AS context --- server/helpers/activitypub.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' } ] }) -- 2.25.1