aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-09 11:33:06 +0200
committerChocobozzz <me@florianbigard.com>2022-09-09 11:33:06 +0200
commit84091608217c0c791b94e4ebcf5b2f4b7307dbd6 (patch)
tree03a23c83a44f0628645edc89c8b86b39f8c3f109 /server/lib
parentc360e6cc1a4053dfc76655496771593255051625 (diff)
downloadPeerTube-84091608217c0c791b94e4ebcf5b2f4b7307dbd6.tar.gz
PeerTube-84091608217c0c791b94e4ebcf5b2f4b7307dbd6.tar.zst
PeerTube-84091608217c0c791b94e4ebcf5b2f4b7307dbd6.zip
Fix context
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/activitypub/context.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/server/lib/activitypub/context.ts b/server/lib/activitypub/context.ts
index 5308d32fe..349c4d227 100644
--- a/server/lib/activitypub/context.ts
+++ b/server/lib/activitypub/context.ts
@@ -127,7 +127,14 @@ const contextStore: { [ id in ContextType ]: (string | { [ id: string ]: string
127 playlists: { 127 playlists: {
128 '@id': 'pt:playlists', 128 '@id': 'pt:playlists',
129 '@type': '@id' 129 '@type': '@id'
130 } 130 },
131 support: {
132 '@type': 'sc:Text',
133 '@id': 'pt:support'
134 },
135
136 // TODO: remove in a few versions, introduced in 4.2
137 icons: 'as:icon'
131 }), 138 }),
132 139
133 WatchAction: buildContext({ 140 WatchAction: buildContext({