Fix remote follow (#2606)
This commit is contained in:
parent
a0735b0e7a
commit
eaec936fa6
8 changed files with 18 additions and 16 deletions
|
@ -432,10 +432,10 @@ export const pack = (
|
|||
followerId: _user.id,
|
||||
followeeId: meId
|
||||
}),
|
||||
_user.isLocked ? FollowRequest.findOne({
|
||||
FollowRequest.findOne({
|
||||
followerId: meId,
|
||||
followeeId: _user.id
|
||||
}) : Promise.resolve(null),
|
||||
}),
|
||||
FollowRequest.findOne({
|
||||
followerId: _user.id,
|
||||
followeeId: meId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue