Refactoring, Clean up and bug fixes
This commit is contained in:
parent
b4b9e76c8d
commit
931bdc6aac
108 changed files with 1722 additions and 1539 deletions
|
@ -189,7 +189,7 @@ export async function getRelation(me: mongo.ObjectId, target: mongo.ObjectId) {
|
|||
|
||||
return {
|
||||
isFollowing: following1 !== null,
|
||||
isStalking: following1 && following1.stalk,
|
||||
isStalking: following1 ? following1.stalk : false,
|
||||
hasPendingFollowRequestFromYou: followReq1 !== null,
|
||||
hasPendingFollowRequestToYou: followReq2 !== null,
|
||||
isFollowed: following2 !== null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue