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