Node.js based forum software built for the modern web
fix: return 200 for non-implemented activities instead of 501
Julian Lam524a1e8bfe40
diff --git a/src/controllers/activitypub/index.js b/src/controllers/activitypub/index.jsindex 0e7112ddfd..de478a6021 100644--- a/src/controllers/activitypub/index.js+++ b/src/controllers/activitypub/index.js@@ -145,7 +145,7 @@ Controller.postInbox = async (req, res) => {const method = String(req.body.type).toLowerCase();if (!activitypub.inbox.hasOwnProperty(method)) {winston.warn(`[activitypub/inbox] Received Activity of type ${method} but unable to handle. Ignoring.`);- return res.sendStatus(501);+ return res.sendStatus(200);}try {