1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-26 05:34:27 +02:00
This commit is contained in:
syuilo
2018-10-22 17:13:06 +09:00
parent e2a79abbe0
commit e9a8090d7e
4 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import renderFollow from '../../remote/activitypub/renderer/follow';
import renderAccept from '../../remote/activitypub/renderer/accept';
import { deliver } from '../../queue';
import createFollowRequest from './requests/create';
import { followingStats } from '../stats';
import { perUserFollowingStats } from '../stats';
export default async function(follower: IUser, followee: IUser, requestId?: string) {
// フォロー対象が鍵アカウントである or
@@ -53,7 +53,7 @@ export default async function(follower: IUser, followee: IUser, requestId?: stri
});
//#endregion
followingStats.update(follower, followee, true);
perUserFollowingStats.update(follower, followee, true);
// Publish follow event
if (isLocalUser(follower)) {