mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 15:03:12 +01:00
test: test runs should not actually federate activities out
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user