mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
cleanup code
This commit is contained in:
+3
-2
@@ -3885,7 +3885,9 @@ CefSharp.BindObjectAsync(
|
|||||||
|
|
||||||
API.$on('USER:UPDATE', function (args) {
|
API.$on('USER:UPDATE', function (args) {
|
||||||
var { ref, props } = args;
|
var { ref, props } = args;
|
||||||
if ($app.friends.get(ref.id)) {
|
if ($app.friends.has(ref.id) === false) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (props.location) {
|
if (props.location) {
|
||||||
if (props.location[0] === 'offline') {
|
if (props.location[0] === 'offline') {
|
||||||
$app.addFeed('Offline', ref, {
|
$app.addFeed('Offline', ref, {
|
||||||
@@ -3934,7 +3936,6 @@ CefSharp.BindObjectAsync(
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var saveFeedTimer = null;
|
var saveFeedTimer = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user