1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-23 22:44:11 +02:00
This commit is contained in:
syuilo
2018-10-30 14:34:32 +09:00
parent d399241e65
commit 7afa541a53
7 changed files with 31 additions and 29 deletions

View File

@@ -42,7 +42,9 @@ export default async function(follower: IUser, followee: IUser) {
// Publish unfollow event
if (isLocalUser(follower)) {
packUser(followee, follower).then(packed => publishMainStream(follower._id, 'unfollow', packed));
packUser(followee, follower, {
detail: true
}).then(packed => publishMainStream(follower._id, 'unfollow', packed));
}
if (isLocalUser(follower) && isRemoteUser(followee)) {