Node.js based forum software built for the modern web
fix: tests, when removing the announce wrapper, resolve the sub-object
Julian Lamb1e516b903fe
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.jsindex b49dcab7e8..563e618dcc 100644--- a/src/activitypub/inbox.js+++ b/src/activitypub/inbox.js@@ -436,6 +436,10 @@ inbox.announce = async (req) => {}req.body = object;+ if (typeof req.body.object === 'string') {+ req.body.object = await activitypub.helpers.resolveObjects(req.body.object);+ }+await inbox.like(req);break;