From 32d1adf67d184785dc9f4222ab4be1608de88e65 Mon Sep 17 00:00:00 2001 From: Opliko Date: Fri, 3 May 2024 17:48:09 +0200 Subject: [PATCH] feat: add id to reject activity --- src/activitypub/inbox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index 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,