Same context as mastodon

merge-requests/30/head
Bob Mottram 2021-09-30 10:18:03 +01:00
parent 266bdc0fe5
commit b46342b455
1 changed files with 7 additions and 4 deletions

View File

@ -1385,10 +1385,13 @@ def _createPostBase(baseDir: str, nickname: str, domain: str, port: int,
postContext = [
'https://www.w3.org/ns/activitystreams',
{
'Hashtag': 'as:Hashtag',
'sensitive': 'as:sensitive',
'toot': 'http://joinmastodon.org/ns#',
'votersCount': 'toot:votersCount'
"ostatus": "http://ostatus.org#",
"atomUri": "ostatus:atomUri",
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
"conversation": "ostatus:conversation",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount"
}
]