This commit is contained in:
Zero King 2021-03-12 17:07:18 +00:00 committed by GitHub
parent e9ba81149d
commit a87930542a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ export async function insertFollowingDoc(followee: User, follower: User) {
// Publish followed event // Publish followed event
if (Users.isLocalUser(followee)) { if (Users.isLocalUser(followee)) {
Users.pack(follower, followee).then(packed => publishMainStream(followee.id, 'followed', packed)), Users.pack(follower, followee).then(packed => publishMainStream(followee.id, 'followed', packed));
// 通知を作成 // 通知を作成
createNotification(followee.id, 'follow', { createNotification(followee.id, 'follow', {