mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix Quest auto invite and accept invite request
This commit is contained in:
@@ -235,6 +235,13 @@ export const useNotificationStore = defineStore('Notification', () => {
|
|||||||
if (locationStore.lastLocation.location === 'traveling') {
|
if (locationStore.lastLocation.location === 'traveling') {
|
||||||
currentLocation = locationStore.lastLocationDestination;
|
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) {
|
if (!currentLocation) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -536,6 +536,10 @@
|
|||||||
if (lastLocation.value.location === 'traveling') {
|
if (lastLocation.value.location === 'traveling') {
|
||||||
currentLocation = lastLocationDestination.value;
|
currentLocation = lastLocationDestination.value;
|
||||||
}
|
}
|
||||||
|
if (!currentLocation) {
|
||||||
|
// game log disabled, use API location
|
||||||
|
currentLocation = currentUser.$locationTag;
|
||||||
|
}
|
||||||
const L = parseLocation(currentLocation);
|
const L = parseLocation(currentLocation);
|
||||||
worldRequest
|
worldRequest
|
||||||
.getCachedWorld({
|
.getCachedWorld({
|
||||||
|
|||||||
Reference in New Issue
Block a user