mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Update localFavoriteFriends when adding to favs (#890)
This commit is contained in:
@@ -4239,6 +4239,13 @@ speechSynthesis.getVoices();
|
|||||||
) {
|
) {
|
||||||
this.refreshFavoriteAvatars(args.params.tags);
|
this.refreshFavoriteAvatars(args.params.tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
args.params.type === 'friend' &&
|
||||||
|
$app.localFavoriteFriendsGroups.includes("friend:" + args.params.tags)
|
||||||
|
) {
|
||||||
|
$app.updateLocalFavoriteFriends();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
API.$on('FAVORITE:DELETE', function (args) {
|
API.$on('FAVORITE:DELETE', function (args) {
|
||||||
|
|||||||
Reference in New Issue
Block a user