mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix "Group by Instance" disabled causing missing friends
This commit is contained in:
@@ -23395,6 +23395,10 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
};
|
};
|
||||||
|
|
||||||
$app.computed.onlineFriendsByGroupStatus = function () {
|
$app.computed.onlineFriendsByGroupStatus = function () {
|
||||||
|
if (!this.isSidebarGroupByInstance) {
|
||||||
|
return this.onlineFriends;
|
||||||
|
}
|
||||||
|
|
||||||
const sameInstanceTag = new Set(
|
const sameInstanceTag = new Set(
|
||||||
this.friendsInSameInstance.flatMap((item) =>
|
this.friendsInSameInstance.flatMap((item) =>
|
||||||
item.map((friend) => friend.ref?.$location.tag)
|
item.map((friend) => friend.ref?.$location.tag)
|
||||||
@@ -23407,6 +23411,10 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
};
|
};
|
||||||
|
|
||||||
$app.computed.vipFriendsByGroupStatus = function () {
|
$app.computed.vipFriendsByGroupStatus = function () {
|
||||||
|
if (!this.isSidebarGroupByInstance) {
|
||||||
|
return this.vipFriends;
|
||||||
|
}
|
||||||
|
|
||||||
const sameInstanceTag = new Set(
|
const sameInstanceTag = new Set(
|
||||||
this.friendsInSameInstance.flatMap((item) =>
|
this.friendsInSameInstance.flatMap((item) =>
|
||||||
item.map((friend) => friend.ref?.$location.tag)
|
item.map((friend) => friend.ref?.$location.tag)
|
||||||
|
|||||||
Reference in New Issue
Block a user