mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Fix self online for
This commit is contained in:
+5
-1
@@ -1317,7 +1317,11 @@ speechSynthesis.getVoices();
|
|||||||
if (json.id === API.currentUser.id) {
|
if (json.id === API.currentUser.id) {
|
||||||
json.status = API.currentUser.status;
|
json.status = API.currentUser.status;
|
||||||
json.statusDescription = API.currentUser.statusDescription;
|
json.statusDescription = API.currentUser.statusDescription;
|
||||||
json.state = API.currentUser.state;
|
if ($app.isGameRunning) {
|
||||||
|
json.state = 'online';
|
||||||
|
} else {
|
||||||
|
json.state = 'active';
|
||||||
|
}
|
||||||
json.last_login = API.currentUser.last_login;
|
json.last_login = API.currentUser.last_login;
|
||||||
if (
|
if (
|
||||||
typeof json.location !== 'undefined' &&
|
typeof json.location !== 'undefined' &&
|
||||||
|
|||||||
Reference in New Issue
Block a user