瀏覽代碼

Adds an option and hide avatars in contact list.

master
damencho 9 年之前
父節點
當前提交
4c72833f5a
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. 1
    0
      interface_config.js
  2. 3
    2
      modules/UI/side_pannels/contactlist/ContactList.js

+ 1
- 0
interface_config.js 查看文件

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

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

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

Loading…
取消
儲存