mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Temporary fix for always online bug 1
This commit is contained in:
+8
-2
@@ -5194,9 +5194,15 @@ speechSynthesis.getVoices();
|
|||||||
$app.methods.userStatusClass = function (user) {
|
$app.methods.userStatusClass = function (user) {
|
||||||
var style = {};
|
var style = {};
|
||||||
if (typeof user !== 'undefined') {
|
if (typeof user !== 'undefined') {
|
||||||
|
var id = '';
|
||||||
|
if (user.id) {
|
||||||
|
id = user.id;
|
||||||
|
} else if (user.userId) {
|
||||||
|
id = user.userId;
|
||||||
|
}
|
||||||
if ((user.location === 'offline') ||
|
if ((user.location === 'offline') ||
|
||||||
((!this.friendsGroup0_.filter(e => e.id === user.id).length > 0) &&
|
((id) && (!this.friendsGroup0_.filter(e => e.id === id).length > 0) &&
|
||||||
(!this.friendsGroup1_.filter(e => e.id === user.id).length > 0))) {
|
(!this.friendsGroup1_.filter(e => e.id === id).length > 0))) {
|
||||||
// Offline
|
// Offline
|
||||||
style.offline = true;
|
style.offline = true;
|
||||||
} else if (user.status === 'active') {
|
} else if (user.status === 'active') {
|
||||||
|
|||||||
Reference in New Issue
Block a user