mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
Fixes for empty location + add Active user state 1
This commit is contained in:
@@ -5470,11 +5470,12 @@ speechSynthesis.getVoices();
|
||||
return;
|
||||
}
|
||||
//temp fix
|
||||
if ((user.status !== 'active') && (id) && (id !== API.currentUser.id) &&
|
||||
(!this.friendsGroup0_.filter(e => e.id === id).length > 0) &&
|
||||
(!this.friendsGroup1_.filter(e => e.id === id).length > 0)) {
|
||||
// Active
|
||||
style.active = true;
|
||||
if ((user.status !== 'active') && (user.location === 'private') && (user.state === '') &&
|
||||
(id) && (id !== API.currentUser.id) &&
|
||||
(!API.currentUser.onlineFriends.includes(id)) &&
|
||||
(!API.currentUser.activeFriends.includes(id))) {
|
||||
// Offline
|
||||
style.offline = true;
|
||||
} else if (user.location === 'offline') {
|
||||
// Offline
|
||||
style.offline = true;
|
||||
|
||||
Reference in New Issue
Block a user