mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix current user being displayed as offline
This commit is contained in:
@@ -5207,7 +5207,8 @@ speechSynthesis.getVoices();
|
|||||||
id = user.userId;
|
id = user.userId;
|
||||||
}
|
}
|
||||||
if ((user.location === 'offline') ||
|
if ((user.location === 'offline') ||
|
||||||
((id) && (!this.friendsGroup0_.filter(e => e.id === id).length > 0) &&
|
((id) && (id !== API.currentUser.id) &&
|
||||||
|
(!this.friendsGroup0_.filter(e => e.id === id).length > 0) &&
|
||||||
(!this.friendsGroup1_.filter(e => e.id === id).length > 0))) {
|
(!this.friendsGroup1_.filter(e => e.id === id).length > 0))) {
|
||||||
// Offline
|
// Offline
|
||||||
style.offline = true;
|
style.offline = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user