diff --git a/src/remote/activitypub/kernel/undo/follow.ts b/src/remote/activitypub/kernel/undo/follow.ts index 737798461..f112ee8bf 100644 --- a/src/remote/activitypub/kernel/undo/follow.ts +++ b/src/remote/activitypub/kernel/undo/follow.ts @@ -31,7 +31,7 @@ export default async (actor: IRemoteUser, activity: IFollow): Promise => { }); if (req) { - await cancelRequest(actor, followee); + await cancelRequest(followee, actor); } else { await unfollow(actor, followee); }