From 097141a057da01d295a855fabbabe21e6ed35cf5 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 12 Aug 2024 19:25:38 +0200 Subject: [PATCH] [backend/federation] Improve GTS compatibility fixes --- .../ActivityStreams/Contexts/gts.json | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/gts.json b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/gts.json index ba967783..357edbe8 100644 --- a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/gts.json +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/gts.json @@ -1,10 +1,22 @@ { "@context": { "gts": "https://gotosocial.org/ns#", - "interactionPolicy": "gts:interactionPolicy", - "canLike": "gts:canLike", - "canReply": "gts:canReply", - "canAnnounce": "gts:canAnnounce", + "interactionPolicy": { + "@id": "gts:interactionPolicy", + "@type": "@id" + }, + "canLike": { + "@id": "gts:canLike", + "@type": "@id" + }, + "canReply": { + "@id": "gts:canReply", + "@type": "@id" + }, + "canAnnounce": { + "@id": "gts:canAnnounce", + "@type": "@id" + }, "always": { "@id": "gts:always", "@type": "@id" @@ -12,6 +24,10 @@ "approvalRequired": { "@id": "gts:approvalRequired", "@type": "@id" + }, + "approvedBy": { + "@id": "gts:approvedBy", + "@type": "@id" } } } \ No newline at end of file