浏览代码

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

master
damencho 10 年前
父节点
当前提交
8aad75d9fa
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      modules/UI/UI.js

+ 3
- 3
modules/UI/UI.js 查看文件

@@ -161,9 +161,6 @@ UI.initConference = function () {
161 161
 
162 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 164
     // Add myself to the contact list.
168 165
     ContactList.addContact(id);
169 166
 
@@ -178,6 +175,9 @@ UI.initConference = function () {
178 175
 
179 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 181
     Toolbar.checkAutoEnableDesktopSharing();
182 182
 };
183 183
 

正在加载...
取消
保存