summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activities/models/post.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/activities/models/post.py b/activities/models/post.py
index b5cd4d6..6888b3f 100644
--- a/activities/models/post.py
+++ b/activities/models/post.py
@@ -278,14 +278,14 @@ class Post(StatorModel):
post = cls.objects.create(
object_uri=data["id"],
author=author,
- content=sanitize_post(data["content"]),
+ content=data["content"],
local=False,
)
created = True
else:
raise KeyError(f"No post with ID {data['id']}", data)
if update or created:
- post.content = sanitize_post(data["content"])
+ post.content = data["content"]
post.summary = data.get("summary")
post.sensitive = data.get("as:sensitive", False)
post.url = data.get("url")