diff --git a/api/funkwhale_api/federation/contexts.py b/api/funkwhale_api/federation/contexts.py index a4eee1f71..537d7f736 100644 --- a/api/funkwhale_api/federation/contexts.py +++ b/api/funkwhale_api/federation/contexts.py @@ -316,8 +316,8 @@ CONTEXTS = [ "shortId": "LITEPUB", "contextUrl": None, "documentUrl": "http://litepub.social/ns", + # from https://git.pleroma.social/pleroma/pleroma/-/blob/release/2.2.3/priv/static/schemas/litepub-0.1.jsonld "document": { - # from https://ap.thequietplace.social/schemas/litepub-0.1.jsonld "@context": { "Emoji": "toot:Emoji", "Hashtag": "as:Hashtag", @@ -326,6 +326,7 @@ CONTEXTS = [ "conversation": {"@id": "ostatus:conversation", "@type": "@id"}, "discoverable": "toot:discoverable", "manuallyApprovesFollowers": "as:manuallyApprovesFollowers", + "capabilities": "litepub:capabilities", "ostatus": "http://ostatus.org#", "schema": "http://schema.org#", "toot": "http://joinmastodon.org/ns#", @@ -340,6 +341,7 @@ CONTEXTS = [ "@type": "@id", }, "EmojiReact": "litepub:EmojiReact", + "ChatMessage": "litepub:ChatMessage", "alsoKnownAs": {"@id": "as:alsoKnownAs", "@type": "@id"}, } }, diff --git a/changes/changelog.d/1341.bugfix b/changes/changelog.d/1341.bugfix new file mode 100644 index 000000000..7a4d0e3c9 --- /dev/null +++ b/changes/changelog.d/1341.bugfix @@ -0,0 +1 @@ +Update pleroma JSON-LD Schema (#1341)