mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Fix traveling world name, fix sorting grouped players in same instance
This commit is contained in:
@@ -40,6 +40,16 @@ function getFriendsSortFunction(sortMethods) {
|
||||
) {
|
||||
return 0;
|
||||
}
|
||||
// sort pending offline to bottom
|
||||
if (a.pendingOffline && !b.pendingOffline) {
|
||||
return 1;
|
||||
}
|
||||
if (a.pendingOffline && b.pendingOffline) {
|
||||
return 0;
|
||||
}
|
||||
if (!a.pendingOffline && b.pendingOffline) {
|
||||
return -1;
|
||||
}
|
||||
if (a.state !== 'online' || b.state !== 'online') {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user