Adds an option and hide avatars in contact list.
This commit is contained in:
parent
e3eaac5bef
commit
4c72833f5a
|
@ -26,6 +26,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).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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,6 +110,7 @@ var ContactList = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (interfaceConfig.SHOW_CONTACTLIST_AVATARS)
|
||||||
newContact.appendChild(createAvatar(id));
|
newContact.appendChild(createAvatar(id));
|
||||||
newContact.appendChild(createDisplayNameParagraph("participant"));
|
newContact.appendChild(createDisplayNameParagraph("participant"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue