From b46342b4550aeff334131c45b07f4e8188cb9541 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 30 Sep 2021 10:18:03 +0100 Subject: [PATCH] Same context as mastodon --- posts.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/posts.py b/posts.py index f0950ca1f..3511a7065 100644 --- a/posts.py +++ b/posts.py @@ -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" } ]