From 44b0c8bfde21f36fb7afe7d8ecce390900664e40 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Thu, 25 Dec 2025 07:49:21 +1300 Subject: [PATCH] Fix Quest auto invite and accept invite request --- src/stores/notification.js | 7 +++++++ src/views/Notifications/Notification.vue | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/src/stores/notification.js b/src/stores/notification.js index c2b5d2b6..17ef49eb 100644 --- a/src/stores/notification.js +++ b/src/stores/notification.js @@ -235,6 +235,13 @@ export const useNotificationStore = defineStore('Notification', () => { if (locationStore.lastLocation.location === 'traveling') { currentLocation = locationStore.lastLocationDestination; } + if (!currentLocation) { + // game log disabled, use API location + currentLocation = userStore.currentUser.$locationTag; + if (userStore.currentUser.$travelingToLocation) { + currentLocation = userStore.currentUser.$travelingToLocation; + } + } if (!currentLocation) { return; } diff --git a/src/views/Notifications/Notification.vue b/src/views/Notifications/Notification.vue index 2d009417..12f58ef8 100644 --- a/src/views/Notifications/Notification.vue +++ b/src/views/Notifications/Notification.vue @@ -536,6 +536,10 @@ if (lastLocation.value.location === 'traveling') { currentLocation = lastLocationDestination.value; } + if (!currentLocation) { + // game log disabled, use API location + currentLocation = currentUser.$locationTag; + } const L = parseLocation(currentLocation); worldRequest .getCachedWorld({