projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb3abf
)
Add commentsEnabled field to AS context
author
Chocobozzz
<me@florianbigard.com>
Fri, 12 Jan 2018 14:58:43 +0000
(15:58 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 12 Jan 2018 14:58:43 +0000
(15:58 +0100)
server/helpers/activitypub.ts
patch
|
blob
|
history
diff --git
a/server/helpers/activitypub.ts
b/server/helpers/activitypub.ts
index b6207c9153e15eac5f61ed35146ab621572bbde6..a19726beb45692abe5fb7d4ba6f9030e372d6d51 100644
(file)
--- 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'
}
]
})