fix: send actor in undo(follow)

This commit is contained in:
Julian Lam
2025-05-28 14:53:32 -04:00
parent b20a6ed0d7
commit 49b5268e52

View File

@@ -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,
});