mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 19:23:47 +02:00
Support custom instance names
This commit is contained in:
@@ -316,6 +316,11 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
}
|
||||
});
|
||||
instanceStore.cachedInstances.forEach((ref, id) => {
|
||||
if (
|
||||
friendStore.friends.values().some((f) => f.$location.tag === id)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
// delete instances over an hour old
|
||||
if (Date.parse(ref.$fetchedAt) < Date.now() - 3600000) {
|
||||
instanceStore.cachedInstances.delete(id);
|
||||
|
||||
Reference in New Issue
Block a user