mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 06:46:10 +02:00
Refactoring, Clean up and bug fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user