Skip to content

Node.js based forum software built for the modern web

test: test runs should not actually federate activities out

Julian Lam483ab083899a
diff --git a/src/activitypub/index.js b/src/activitypub/index.js
index 343c0bc778..4dea31942d 100644
--- a/src/activitypub/index.js
+++ b/src/activitypub/index.js
@@ -420,6 +420,7 @@ ActivityPub.send = async (type, id, targets, payload) => {
if (process.env.hasOwnProperty('CI')) {
ActivityPub._sent.set(payload.id, payload);
+ return;
}
if (!Array.isArray(targets)) {