Skip to content

Node.js based forum software built for the modern web

fix: regression that caused non-public content with source.content to fail parsing

Julian Lame9b3306e7924
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.js
index 389e9a5441..37a9a5f32d 100644
--- a/src/activitypub/mocks.js
+++ b/src/activitypub/mocks.js
@@ -373,7 +373,7 @@ Mocks.message = async (object) => {
const message = {
mid: object.id,
uid: object.attributedTo,
- content: object.content,
+ content: object.sourceContent || object.content,
// ip: caller.ip,
};