Skip to content

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

Rename context stats to state

Thomas Citharel1cf8aca11dcf
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index 278010e782..b0bcfe8242 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -24,7 +24,7 @@ function activityPubContextify <T> (data: T) {
sensitive: 'as:sensitive',
language: 'sc:inLanguage',
views: 'sc:Number',
- stats: 'sc:Number',
+ state: 'sc:Number',
size: 'sc:Number',
fps: 'sc:Number',
commentsEnabled: 'sc:Boolean',