Small changes

This commit is contained in:
Natsumi
2021-10-13 21:09:46 +13:00
parent f9492fc6c4
commit 12f07e665d
4 changed files with 26 additions and 14 deletions
+8 -3
View File
@@ -7093,8 +7093,9 @@ speechSynthesis.getVoices();
$app.feedDownloadWorldCache(ref.id, props.location[0]);
}
if (
props.currentAvatarImageUrl ||
props.currentAvatarThumbnailImageUrl
(props.currentAvatarImageUrl ||
props.currentAvatarThumbnailImageUrl) &&
!ref.profilePicOverride
) {
var currentAvatarImageUrl = '';
var previousCurrentAvatarImageUrl = '';
@@ -7778,7 +7779,10 @@ speechSynthesis.getVoices();
}
var videoName = text2.slice(0, -1);
var userId = '';
if (displayName && displayName !== 'Random') {
if (displayName === 'Random') {
displayName = '';
}
if (displayName) {
for (var ref of API.cachedUsers.values()) {
if (ref.displayName === displayName) {
userId = ref.id;
@@ -10424,6 +10428,7 @@ speechSynthesis.getVoices();
D.userIcon = '';
D.id = userId;
D.treeData = [];
D.memo = '';
this.getMemo(userId).then((memo) => {
D.memo = memo;
var ref = this.friends.get(userId);