mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
wtf; well that's fantastic
This commit is contained in:
+10
-3
@@ -1017,7 +1017,10 @@ CefSharp.BindObjectAsync(
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (has) {
|
// FIXME
|
||||||
|
// if the status is offline, just ignore status and statusDescription only.
|
||||||
|
if (has &&
|
||||||
|
(ref.status !== 'offline' && $ref.status !== 'offline')) {
|
||||||
if (props.location) {
|
if (props.location) {
|
||||||
var ts = Date.now();
|
var ts = Date.now();
|
||||||
props.location.push(ts - ref.$location_at);
|
props.location.push(ts - ref.$location_at);
|
||||||
@@ -3417,8 +3420,12 @@ CefSharp.BindObjectAsync(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (var userId of API.currentUser.activeFriends) {
|
for (var userId of API.currentUser.activeFriends) {
|
||||||
if (API.cachedUsers.has(userId) ||
|
if (this.pendingActiveFriends.has(userId)) {
|
||||||
this.pendingActiveFriends.has(userId)) {
|
continue;
|
||||||
|
}
|
||||||
|
var user = API.cachedUsers.get(userId);
|
||||||
|
if (user !== undefined &&
|
||||||
|
user.status !== 'offline') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (this.pendingActiveFriends.size >= 5) {
|
if (this.pendingActiveFriends.size >= 5) {
|
||||||
|
|||||||
Reference in New Issue
Block a user