This commit is contained in:
syuilo 2018-10-30 14:34:32 +09:00
parent d399241e65
commit 7afa541a53
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
7 changed files with 31 additions and 29 deletions

View file

@ -87,7 +87,9 @@ export default async function(follower: IUser, followee: IUser, requestId?: stri
// Publish follow event
if (isLocalUser(follower)) {
packUser(followee, follower).then(packed => publishMainStream(follower._id, 'follow', packed));
packUser(followee, follower, {
detail: true
}).then(packed => publishMainStream(follower._id, 'follow', packed));
}
// Publish followed event