]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix context
authorChocobozzz <me@florianbigard.com>
Fri, 9 Sep 2022 09:33:06 +0000 (11:33 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 9 Sep 2022 09:33:06 +0000 (11:33 +0200)
server/lib/activitypub/context.ts

index 5308d32feda5e98dd73fb6e4bfd5d2c42f08e00b..349c4d2273ee6d21c273d25aaa3cfeea5268be94 100644 (file)
@@ -127,7 +127,14 @@ const contextStore: { [ id in ContextType ]: (string | { [ id: string ]: string
     playlists: {
       '@id': 'pt:playlists',
       '@type': '@id'
-    }
+    },
+    support: {
+      '@type': 'sc:Text',
+      '@id': 'pt:support'
+    },
+
+    // TODO: remove in a few versions, introduced in 4.2
+    icons: 'as:icon'
   }),
 
   WatchAction: buildContext({