mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 15:55:56 +02:00
Fix #2013
This commit is contained in:
@@ -66,6 +66,12 @@ export default async function(followee: IUser, follower: IUser) {
|
||||
});
|
||||
//#endregion
|
||||
|
||||
await User.update({ _id: followee._id }, {
|
||||
$inc: {
|
||||
pendingReceivedFollowRequestsCount: -1
|
||||
}
|
||||
});
|
||||
|
||||
packUser(followee, followee, {
|
||||
detail: true
|
||||
}).then(packed => event(followee._id, 'meUpdated', packed));
|
||||
|
||||
Reference in New Issue
Block a user