mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 23:33:50 +02:00
Revert temp fix for reporting as active when online
This commit is contained in:
@@ -3290,7 +3290,6 @@ speechSynthesis.getVoices();
|
|||||||
userId: content.userId
|
userId: content.userId
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$app.APILastOnline.set(content.userId, Date.now());
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'friend-active':
|
case 'friend-active':
|
||||||
@@ -3736,8 +3735,6 @@ speechSynthesis.getVoices();
|
|||||||
|
|
||||||
$app.data.debug = false;
|
$app.data.debug = false;
|
||||||
|
|
||||||
$app.data.APILastOnline = new Map();
|
|
||||||
|
|
||||||
$app.data.sharedFeed = {
|
$app.data.sharedFeed = {
|
||||||
gameLog: {
|
gameLog: {
|
||||||
wrist: [],
|
wrist: [],
|
||||||
@@ -5223,15 +5220,6 @@ speechSynthesis.getVoices();
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (ctx.state === 'online' && state === 'active') {
|
|
||||||
await new Promise(resolve => setTimeout(resolve, 50000));
|
|
||||||
if (this.APILastOnline.has(id)) {
|
|
||||||
var date = this.APILastOnline.get(id);
|
|
||||||
if (date > Date.now() - 60000) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (ctx.state === 'online') {
|
if (ctx.state === 'online') {
|
||||||
if (ctx.isVIP) {
|
if (ctx.isVIP) {
|
||||||
removeFromArray(this.friendsGroup0_, ctx);
|
removeFromArray(this.friendsGroup0_, ctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user