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 = [ postContext = [
'https://www.w3.org/ns/activitystreams', 'https://www.w3.org/ns/activitystreams',
{ {
'Hashtag': 'as:Hashtag', "ostatus": "http://ostatus.org#",
'sensitive': 'as:sensitive', "atomUri": "ostatus:atomUri",
'toot': 'http://joinmastodon.org/ns#', "inReplyToAtomUri": "ostatus:inReplyToAtomUri",
'votersCount': 'toot:votersCount' "conversation": "ostatus:conversation",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount"
} }
] ]