Node.js based forum software built for the modern web
feat: add id to reject activity
Opliko32d1adf67d18
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.jsindex 92615a305c..19686a8bf8 100644--- a/src/activitypub/inbox.js+++ b/src/activitypub/inbox.js@@ -20,6 +20,7 @@ const inbox = module.exports;function reject(type, object, target, senderType = 'uid', id = 0) {activitypub.send(senderType, id, target, {+ id: `${helpers.resolveActor(senderType, id)}#/activity/reject/${encodeURIComponent(object.id)}`,type: 'Reject',object: {type,