mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
feat: add id to reject activity
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user