From a5401553eec08fd94c5622571f96c22e2aee1ca3 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Thu, 20 Oct 2022 00:30:13 +1300 Subject: [PATCH] direct access legacy user id's https://github.com/pypy-vrc/VRCX/issues/425 --- html/src/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 1a941e6e..5c8dccfe 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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_') {