Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add commentsEnabled field to AS context

Chocobozzz0af3182bf77a
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index b6207c9153..a19726beb4 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -18,7 +18,8 @@ function activityPubContextify <T> (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'
}
]
})