Parcourir la source

Adds an option and hide avatars in contact list.

j8
damencho il y a 8 ans
Parent
révision
4c72833f5a
2 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 1
    0
      interface_config.js
  2. 3
    2
      modules/UI/side_pannels/contactlist/ContactList.js

+ 1
- 0
interface_config.js Voir le fichier

@@ -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 Voir le fichier

@@ -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)) {

Chargement…
Annuler
Enregistrer