mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 00:33:50 +02:00
Show mutual friends for all users
This commit is contained in:
@@ -961,18 +961,14 @@ export const useUserStore = defineStore('User', () => {
|
||||
D.isShowAvatar = true;
|
||||
}
|
||||
});
|
||||
if (D.isFriend) {
|
||||
userRequest
|
||||
.getMutualCounts({ userId })
|
||||
.then((args) => {
|
||||
if (args.params.userId === D.id) {
|
||||
D.mutualFriendCount =
|
||||
args.json.friends;
|
||||
D.mutualGroupCount =
|
||||
args.json.groups;
|
||||
}
|
||||
});
|
||||
}
|
||||
userRequest
|
||||
.getMutualCounts({ userId })
|
||||
.then((args) => {
|
||||
if (args.params.userId === D.id) {
|
||||
D.mutualFriendCount = args.json.friends;
|
||||
D.mutualGroupCount = args.json.groups;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
D.previousDisplayNames =
|
||||
currentUser.value.pastDisplayNames;
|
||||
|
||||
Reference in New Issue
Block a user