Sfoglia il codice sorgente

Adds an option and hide avatars in contact list.

j8
damencho 8 anni fa
parent
commit
4c72833f5a

+ 1
- 0
interface_config.js Vedi File

@@ -26,6 +26,7 @@ var interfaceConfig = {
26 26
     // screen, 'width' would fit the original video width to the width of the
27 27
     // screen respecting ratio.
28 28
     VIDEO_LAYOUT_FIT: 'both',
29
+    SHOW_CONTACTLIST_AVATARS: false,
29 30
     /**
30 31
      * Whether to only show the filmstrip (and hide the toolbar).
31 32
      */

+ 3
- 2
modules/UI/side_pannels/contactlist/ContactList.js Vedi File

@@ -1,4 +1,4 @@
1
-/* global $, APP */
1
+/* global $, APP, interfaceConfig */
2 2
 import Avatar from '../../avatar/Avatar';
3 3
 import UIEvents from '../../../../service/UI/UIEvents';
4 4
 import UIUtil from '../../util/UIUtil';
@@ -110,7 +110,8 @@ var ContactList = {
110 110
             }
111 111
         };
112 112
 
113
-        newContact.appendChild(createAvatar(id));
113
+        if (interfaceConfig.SHOW_CONTACTLIST_AVATARS)
114
+            newContact.appendChild(createAvatar(id));
114 115
         newContact.appendChild(createDisplayNameParagraph("participant"));
115 116
 
116 117
         if (APP.conference.isLocalId(id)) {

Loading…
Annulla
Salva