Fix forever loading avatar

This commit is contained in:
Natsumi
2021-12-25 19:23:38 +13:00
parent be051c3c59
commit 482fd66018

View File

@@ -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) => {