mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
refactor untils
This commit is contained in:
@@ -13,12 +13,12 @@ import {
|
||||
escapeTag,
|
||||
executeWithBackoff,
|
||||
findUserByDisplayName,
|
||||
getUserMemo,
|
||||
parseLocation,
|
||||
parseNotificationDetails,
|
||||
removeFromArray,
|
||||
sanitizeNotificationJson
|
||||
} from '../../shared/utils';
|
||||
import { getUserMemo } from '../../coordinators/memoCoordinator';
|
||||
import {
|
||||
friendRequest,
|
||||
instanceRequest,
|
||||
@@ -347,11 +347,13 @@ export const useNotificationStore = defineStore('Notification', () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!checkCanInvite(currentLocation, {
|
||||
currentUserId: userStore.currentUser.id,
|
||||
lastLocationStr: locationStore.lastLocation.location,
|
||||
cachedInstances: instanceStore.cachedInstances
|
||||
})) {
|
||||
if (
|
||||
!checkCanInvite(currentLocation, {
|
||||
currentUserId: userStore.currentUser.id,
|
||||
lastLocationStr: locationStore.lastLocation.location,
|
||||
cachedInstances: instanceStore.cachedInstances
|
||||
})
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user