feat: add id to reject activity

This commit is contained in:
Opliko
2024-05-03 17:48:09 +02:00
parent ae589ad71c
commit 32d1adf67d

View File

@@ -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,