[backend/federation] Improve GTS compatibility fixes
This commit is contained in:
parent
559e50da10
commit
097141a057
1 changed files with 20 additions and 4 deletions
|
@ -1,10 +1,22 @@
|
||||||
{
|
{
|
||||||
"@context": {
|
"@context": {
|
||||||
"gts": "https://gotosocial.org/ns#",
|
"gts": "https://gotosocial.org/ns#",
|
||||||
"interactionPolicy": "gts:interactionPolicy",
|
"interactionPolicy": {
|
||||||
"canLike": "gts:canLike",
|
"@id": "gts:interactionPolicy",
|
||||||
"canReply": "gts:canReply",
|
"@type": "@id"
|
||||||
"canAnnounce": "gts:canAnnounce",
|
},
|
||||||
|
"canLike": {
|
||||||
|
"@id": "gts:canLike",
|
||||||
|
"@type": "@id"
|
||||||
|
},
|
||||||
|
"canReply": {
|
||||||
|
"@id": "gts:canReply",
|
||||||
|
"@type": "@id"
|
||||||
|
},
|
||||||
|
"canAnnounce": {
|
||||||
|
"@id": "gts:canAnnounce",
|
||||||
|
"@type": "@id"
|
||||||
|
},
|
||||||
"always": {
|
"always": {
|
||||||
"@id": "gts:always",
|
"@id": "gts:always",
|
||||||
"@type": "@id"
|
"@type": "@id"
|
||||||
|
@ -12,6 +24,10 @@
|
||||||
"approvalRequired": {
|
"approvalRequired": {
|
||||||
"@id": "gts:approvalRequired",
|
"@id": "gts:approvalRequired",
|
||||||
"@type": "@id"
|
"@type": "@id"
|
||||||
|
},
|
||||||
|
"approvedBy": {
|
||||||
|
"@id": "gts:approvedBy",
|
||||||
|
"@type": "@id"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue