Sfoglia il codice sorgente

Merge pull request #863 from jitsi/contact-list-update

Contact list update
master
yanas 8 anni fa
parent
commit
929639b06b

+ 1
- 0
interface_config.js Vedi File

27
     // screen, 'width' would fit the original video width to the width of the
27
     // screen, 'width' would fit the original video width to the width of the
28
     // screen respecting ratio.
28
     // screen respecting ratio.
29
     VIDEO_LAYOUT_FIT: 'both',
29
     VIDEO_LAYOUT_FIT: 'both',
30
+    SHOW_CONTACTLIST_AVATARS: false,
30
     /**
31
     /**
31
      * Whether to only show the filmstrip (and hide the toolbar).
32
      * Whether to only show the filmstrip (and hide the toolbar).
32
      */
33
      */

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

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

+ 2
- 1
modules/UI/toolbars/ToolbarToggler.js Vedi File

50
     init() {
50
     init() {
51
         alwaysVisibleToolbar = (config.alwaysVisibleToolbar === true);
51
         alwaysVisibleToolbar = (config.alwaysVisibleToolbar === true);
52
 
52
 
53
-        this._registerWindowClickListeners();
53
+        // disabled
54
+        //this._registerWindowClickListeners();
54
     },
55
     },
55
 
56
 
56
     /**
57
     /**

Loading…
Annulla
Salva