mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
bugfix
This commit is contained in:
@@ -3705,7 +3705,9 @@ CefSharp.BindObjectAsync(
|
|||||||
$app.methods.userStatusClass = function (user) {
|
$app.methods.userStatusClass = function (user) {
|
||||||
var style = {};
|
var style = {};
|
||||||
if (user) {
|
if (user) {
|
||||||
if (user.state === 'active') {
|
// due to social status, check if the user isn't currentUser
|
||||||
|
if (user.state === 'active' &&
|
||||||
|
user.id !== API.currentUser.id) {
|
||||||
style.inactive = true;
|
style.inactive = true;
|
||||||
} else if (user.location === 'offline') {
|
} else if (user.location === 'offline') {
|
||||||
style.offline = true;
|
style.offline = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user