mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-12 03:13:50 +02:00
Temporary fix for always online bug
This commit is contained in:
@@ -5173,16 +5173,14 @@ speechSynthesis.getVoices();
|
||||
$app.methods.userStatusClass = function (user) {
|
||||
var style = {};
|
||||
if (typeof user !== 'undefined') {
|
||||
if (user.location === 'offline') {
|
||||
if ((user.location === 'offline') ||
|
||||
((!this.friendsGroup0_.filter(e => e.id === user.id).length > 0) &&
|
||||
(!this.friendsGroup1_.filter(e => e.id === user.id).length > 0))) {
|
||||
// Offline
|
||||
style.offline = true;
|
||||
} else if (user.status === 'active') {
|
||||
// Online
|
||||
style.active = true;
|
||||
} else if ((!this.friendsGroup0_.filter(e => e.id === user.id).length > 0) &&
|
||||
(!this.friendsGroup1_.filter(e => e.id === user.id).length > 0)) {
|
||||
// Offline
|
||||
style.offline = true;
|
||||
} else if (user.status === 'join me') {
|
||||
// Join Me
|
||||
style.joinme = true;
|
||||
|
||||
Reference in New Issue
Block a user