direct access legacy user id's

https://github.com/pypy-vrc/VRCX/issues/425
This commit is contained in:
Natsumi
2022-10-20 00:30:13 +13:00
parent 985d1b9674
commit a5401553ee

View File

@@ -13187,7 +13187,10 @@ speechSynthesis.getVoices();
this.showAvatarDialog(avatarId);
return true;
}
} else if (input.substring(0, 4) === 'usr_') {
} else if (
input.substring(0, 4) === 'usr_' ||
/^[A-Za-z0-9]{10}$/g.test(input)
) {
this.showUserDialog(input.trim());
return true;
} else if (input.substring(0, 5) === 'avtr_') {