summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ld.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/ld.py b/core/ld.py
index 946e030..389cd94 100644
--- a/core/ld.py
+++ b/core/ld.py
@@ -410,12 +410,15 @@ def canonicalise(json_data: dict, include_security: bool = False) -> dict:
context = [
"https://www.w3.org/ns/activitystreams",
{
+ "blurhash": "toot:blurhash",
+ "Emoji": "toot:Emoji",
+ "focalPoint": {"@container": "@list", "@id": "toot:focalPoint"},
+ "Hashtag": "as:Hashtag",
+ "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
+ "Public": "as:Public",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount",
- "Hashtag": "as:Hashtag",
- "Public": "as:Public",
- "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
},
]
if include_security: