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

Contact list update
This commit is contained in:
yanas 2016-09-13 21:21:03 -05:00 committed by GitHub
commit 929639b06b
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

@ -50,7 +50,8 @@ const ToolbarToggler = {
init() { init() {
alwaysVisibleToolbar = (config.alwaysVisibleToolbar === true); alwaysVisibleToolbar = (config.alwaysVisibleToolbar === true);
this._registerWindowClickListeners(); // disabled
//this._registerWindowClickListeners();
}, },
/** /**