Load avatars/worlds on tab click 1

This commit is contained in:
Natsumi
2021-04-30 15:43:54 +12:00
parent c920b6607d
commit 99402cf026

View File

@@ -10884,6 +10884,7 @@ speechSynthesis.getVoices();
if (obj.label === 'Avatars') {
this.setUserDialogAvatars(userId);
if (this.userDialogLastAvatar !== userId) {
this.userDialogLastAvatar = userId;
if ((userId === API.currentUser.id) && (this.userDialog.avatars.length === 0)) {
this.refreshUserDialogAvatars();
}