Update localFavoriteFriends when adding to favs (#890)

This commit is contained in:
Nekromateion
2024-09-01 10:38:44 +02:00
committed by GitHub
parent 424a15fdc7
commit 734b2e3952

View File

@@ -4239,6 +4239,13 @@ speechSynthesis.getVoices();
) {
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) {