Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Sets local avatar after local video id is set on joined (VideoLayout.mucJoined()).

damencho8aad75d9fa36
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index e846637b10..d8f8836abd 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -161,9 +161,6 @@ UI.initConference = function () {
$("#localNick").html(settings.email || settings.uid + " (" + meHTML + ")");
- // Make sure we configure our avatar id, before creating avatar for us
- UI.setUserAvatar(id, settings.email || settings.uid);
-
// Add myself to the contact list.
ContactList.addContact(id);
@@ -178,6 +175,9 @@ UI.initConference = function () {
VideoLayout.mucJoined();
+ // Make sure we configure our avatar id, before creating avatar for us
+ UI.setUserAvatar(id, settings.email || settings.uid);
+
Toolbar.checkAutoEnableDesktopSharing();
};