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

This commit is contained in:
damencho 2016-01-05 17:23:24 -06:00
parent 01a9d47959
commit 8aad75d9fa
1 changed files with 3 additions and 3 deletions

View File

@ -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();
};