mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 02:25:55 +01:00
fix: send actor in undo(follow)
This commit is contained in:
@@ -119,6 +119,7 @@ activitypubApi.unfollow = enabledCheck(async (caller, { type, id, actor }) => {
|
||||
await activitypub.send(type, id, [actor], {
|
||||
id: `${nconf.get('url')}/${type}/${id}#activity/undo:follow/${encodeURIComponent(actor)}/${timestamp}`,
|
||||
type: 'Undo',
|
||||
actor: object.actor,
|
||||
object,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user