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