mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fixes for empty location + add Active user state 2
This commit is contained in:
+6
-2
@@ -5472,10 +5472,14 @@ speechSynthesis.getVoices();
|
|||||||
//temp fix
|
//temp fix
|
||||||
if ((user.status !== 'active') && (user.location === 'private') && (user.state === '') &&
|
if ((user.status !== 'active') && (user.location === 'private') && (user.state === '') &&
|
||||||
(id) && (id !== API.currentUser.id) &&
|
(id) && (id !== API.currentUser.id) &&
|
||||||
(!API.currentUser.onlineFriends.includes(id)) &&
|
(!API.currentUser.onlineFriends.includes(id))) {
|
||||||
(!API.currentUser.activeFriends.includes(id))) {
|
if (API.currentUser.activeFriends.includes(id)) {
|
||||||
|
// Active
|
||||||
|
style.active = true;
|
||||||
|
} else {
|
||||||
// Offline
|
// Offline
|
||||||
style.offline = true;
|
style.offline = true;
|
||||||
|
}
|
||||||
} else if (user.location === 'offline') {
|
} else if (user.location === 'offline') {
|
||||||
// Offline
|
// Offline
|
||||||
style.offline = true;
|
style.offline = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user