Ver código fonte

Fixing remote avatars to be the same as local one.

j8
damencho 9 anos atrás
pai
commit
b875dc62dc
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      modules/UI/UI.js

+ 2
- 2
modules/UI/UI.js Ver arquivo

174
     }
174
     }
175
 
175
 
176
     // Make sure we configure our avatar id, before creating avatar for us
176
     // Make sure we configure our avatar id, before creating avatar for us
177
-    UI.setUserAvatar(id, settings.email || settings.uid);
177
+    UI.setUserAvatar(id, settings.email);
178
 
178
 
179
     Toolbar.checkAutoEnableDesktopSharing();
179
     Toolbar.checkAutoEnableDesktopSharing();
180
 };
180
 };
382
         UIUtil.playSoundNotification('userJoined');
382
         UIUtil.playSoundNotification('userJoined');
383
 
383
 
384
     // Configure avatar
384
     // Configure avatar
385
-    UI.setUserAvatar(id, displayName);
385
+    UI.setUserAvatar(id);
386
 
386
 
387
     // Add Peer's container
387
     // Add Peer's container
388
     VideoLayout.addParticipantContainer(id);
388
     VideoLayout.addParticipantContainer(id);

Carregando…
Cancelar
Salvar