Node.js based forum software built for the modern web
fix: logic failure causing remote posts with image to not parse properly, #13164
Julian Lamd936d5c073c1
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.jsindex 493655c272..003d392333 100644--- a/src/activitypub/mocks.js+++ b/src/activitypub/mocks.js@@ -190,7 +190,7 @@ Mocks.post = async (objects) => {}switch (true) {- case image && image.hasOwnProperty('url') && image.url: {+ case image && image.hasOwnProperty('url') && !!image.url: {image = image.url;break;}