Fix can't process cancel of follow request from remote

This commit is contained in:
mei23 2018-07-08 17:22:18 +09:00
parent 88c522a2a5
commit 70c17f087b

View File

@ -31,7 +31,7 @@ export default async (actor: IRemoteUser, activity: IFollow): Promise<void> => {
});
if (req) {
await cancelRequest(actor, followee);
await cancelRequest(followee, actor);
} else {
await unfollow(actor, followee);
}