Browse Source

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

master
damencho 9 years ago
parent
commit
8aad75d9fa
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      modules/UI/UI.js

+ 3
- 3
modules/UI/UI.js View File

161
 
161
 
162
     $("#localNick").html(settings.email || settings.uid + " (" + meHTML + ")");
162
     $("#localNick").html(settings.email || settings.uid + " (" + meHTML + ")");
163
 
163
 
164
-    // Make sure we configure our avatar id, before creating avatar for us
165
-    UI.setUserAvatar(id, settings.email || settings.uid);
166
-
167
     // Add myself to the contact list.
164
     // Add myself to the contact list.
168
     ContactList.addContact(id);
165
     ContactList.addContact(id);
169
 
166
 
178
 
175
 
179
     VideoLayout.mucJoined();
176
     VideoLayout.mucJoined();
180
 
177
 
178
+    // Make sure we configure our avatar id, before creating avatar for us
179
+    UI.setUserAvatar(id, settings.email || settings.uid);
180
+
181
     Toolbar.checkAutoEnableDesktopSharing();
181
     Toolbar.checkAutoEnableDesktopSharing();
182
 };
182
 };
183
 
183
 

Loading…
Cancel
Save