From 62b458c9062b8167aec7b5f03c3f815bbd755fcc Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sun, 22 Aug 2021 07:12:37 +1200 Subject: [PATCH] No robot --- html/src/app.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 69d29d0e..8a8c9423 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -5568,7 +5568,8 @@ speechSynthesis.getVoices(); ) { savedCredentialsArray[currentUser.username].user = currentUser; } - savedCredentialsArray[currentUser.username].cookies = await webApiService.getCookies(); + savedCredentialsArray[currentUser.username].cookies = + await webApiService.getCookies(); this.loginForm.savedCredentials = savedCredentialsArray; var jsonCredentialsArray = JSON.stringify(savedCredentialsArray); configRepository.setString('savedCredentials', jsonCredentialsArray); @@ -5577,7 +5578,7 @@ speechSynthesis.getVoices(); }; $app.methods.relogin = function (user) { - var { loginParmas } = user; + var {loginParmas} = user; if (user.cookies) { webApiService.setCookies(user.cookies); } @@ -6789,8 +6790,10 @@ speechSynthesis.getVoices(); $app.feedDownloadWorldCache(ref.id, props.location[0]); } if ( - props.currentAvatarImageUrl || - props.currentAvatarThumbnailImageUrl + (props.currentAvatarImageUrl || + props.currentAvatarThumbnailImageUrl) && + props.currentAvatarImageUrl !== + 'https://assets.vrchat.com/system/defaultAvatar.png' ) { var currentAvatarImageUrl = ''; var previousCurrentAvatarImageUrl = '';