Node.js based forum software built for the modern web
fix: another fix re: 3780fdc6ff9fb23048266b43ceae86646fb795cc
Julian Lam69d5544a7b13
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.jsindex 46a71ae659..799ccf4819 100644--- a/src/activitypub/inbox.js+++ b/src/activitypub/inbox.js@@ -225,7 +225,7 @@ inbox.delete = async (req) => {switch (true) {case isNote: {const uid = await posts.getPostField(object, 'uid');- await announce(object, req.body);+ await announce(pid, req.body);await api.posts[method]({ uid }, { pid });break;}