From 482fd66018eb9315c771922b08c67d2d60641207 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sat, 25 Dec 2021 19:23:38 +1300 Subject: [PATCH] Fix forever loading avatar --- html/src/app.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/html/src/app.js b/html/src/app.js index 5def9347..5985dc0e 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -13527,6 +13527,13 @@ speechSynthesis.getVoices(); if (typeof ref2 !== 'undefined') { D.ref = ref2; this.updateVRChatAvatarCache(); + if ( + ref2.releaseStatus !== 'public' && + ref2.authorId !== API.currentUser.id + ) { + D.loading = false; + return; + } } API.getAvatar({avatarId}) .then((args) => {