mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53: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) {
|
$app.methods.userStatusClass = function (user) {
|
||||||
var style = {};
|
var style = {};
|
||||||
if (typeof user !== 'undefined') {
|
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
|
// Offline
|
||||||
style.offline = true;
|
style.offline = true;
|
||||||
} else if (user.status === 'active') {
|
} else if (user.status === 'active') {
|
||||||
// Online
|
// Online
|
||||||
style.active = true;
|
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') {
|
} else if (user.status === 'join me') {
|
||||||
// Join Me
|
// Join Me
|
||||||
style.joinme = true;
|
style.joinme = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user