mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
bugfix
This commit is contained in:
@@ -1385,6 +1385,11 @@ CefSharp.BindObjectAsync(
|
|||||||
this.isFriendsLoading = false;
|
this.isFriendsLoading = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
API.$on('USER', function (args) {
|
||||||
|
this.friends200.add(args.ref.id);
|
||||||
|
this.friends404.delete(args.ref.id);
|
||||||
|
});
|
||||||
|
|
||||||
API.$on('FRIEND:LIST', function (args) {
|
API.$on('FRIEND:LIST', function (args) {
|
||||||
for (var json of args.json) {
|
for (var json of args.json) {
|
||||||
this.$emit('USER', {
|
this.$emit('USER', {
|
||||||
@@ -1393,8 +1398,6 @@ CefSharp.BindObjectAsync(
|
|||||||
userId: json.id
|
userId: json.id
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.friends200.add(json.id);
|
|
||||||
this.friends404.delete(json.id);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user