This commit is contained in:
pa
2025-07-14 21:28:13 +09:00
committed by Natsumi
parent f53eed46cd
commit b5b962b198
5 changed files with 15 additions and 16 deletions

View File

@@ -762,7 +762,7 @@ export const useNotificationStore = defineStore('Notification', () => {
);
break;
case 'Online':
var locationName = '';
let locationName = '';
if (noty.worldName) {
locationName = ` to ${displayLocation(
noty.location,
@@ -2238,7 +2238,7 @@ export const useNotificationStore = defineStore('Notification', () => {
noty.isFriend = friendStore.friends.has(noty.userId);
noty.isFavorite = friendStore.localFavoriteFriends.has(noty.userId);
} else if (noty.displayName) {
for (var ref of userStore.cachedUsers.values()) {
for (const ref of userStore.cachedUsers.values()) {
if (ref.displayName === noty.displayName) {
noty.isFriend = friendStore.friends.has(ref.id);
noty.isFavorite = friendStore.localFavoriteFriends.has(