Update actor context

main
Bob Mottram 2023-08-27 10:39:46 +01:00
parent b8c4edb8ea
commit 4fff59c0a2
1 changed files with 4 additions and 0 deletions

View File

@ -232,6 +232,8 @@ def get_actor_update_json(actor_json: {}) -> {}:
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"indexable": "toot:indexable",
"memorial": "toot:memorial",
"toot": "http://joinmastodon.org/ns#",
"featured":
{
@ -357,6 +359,8 @@ def get_default_person_context() -> str:
'focalPoint': {'@container': '@list', '@id': 'toot:focalPoint'},
'identityKey': {'@id': 'toot:identityKey', '@type': '@id'},
'manuallyApprovesFollowers': 'as:manuallyApprovesFollowers',
'indexable': 'toot:indexable',
'memorial': 'toot:memorial',
'messageFranking': 'toot:messageFranking',
'messageType': 'toot:messageType',
'movedTo': {'@id': 'as:movedTo', '@type': '@id'},