浏览代码

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

Contact list update
master
yanas 8 年前
父节点
当前提交
929639b06b
共有 3 个文件被更改,包括 6 次插入3 次删除
  1. 1
    0
      interface_config.js
  2. 3
    2
      modules/UI/side_pannels/contactlist/ContactList.js
  3. 2
    1
      modules/UI/toolbars/ToolbarToggler.js

+ 1
- 0
interface_config.js 查看文件

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

+ 3
- 2
modules/UI/side_pannels/contactlist/ContactList.js 查看文件

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

+ 2
- 1
modules/UI/toolbars/ToolbarToggler.js 查看文件

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

正在加载...
取消
保存