Fix remote follow (#2606)
This commit is contained in:
parent
a0735b0e7a
commit
eaec936fa6
8 changed files with 18 additions and 16 deletions
|
|
@ -75,4 +75,6 @@ export default async function(followee: IUser, follower: IUser) {
|
|||
packUser(followee, followee, {
|
||||
detail: true
|
||||
}).then(packed => publishUserStream(followee._id, 'meUpdated', packed));
|
||||
|
||||
packUser(followee, follower).then(packed => publishUserStream(follower._id, 'follow', packed));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue