mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
refactor utils
This commit is contained in:
@@ -347,7 +347,11 @@ export const useNotificationStore = defineStore('Notification', () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!checkCanInvite(currentLocation)) {
|
||||
if (!checkCanInvite(currentLocation, {
|
||||
currentUserId: userStore.currentUser.id,
|
||||
lastLocationStr: locationStore.lastLocation.location,
|
||||
cachedInstances: instanceStore.cachedInstances
|
||||
})) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user