Merge pull request #928 from maximax123/fix-command

hot fix api.executeCommand
This commit is contained in:
hristoterezov 2016-10-12 11:38:31 -05:00 committed by GitHub
commit 94366190a0
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ let enabled = false;
function initCommands() {
commands = {
"display-name": APP.UI.inputDisplayNameHandler,
"toggle-audio": APP.conference.toggleAudioMuted,
"toggle-video": APP.conference.toggleVideoMuted,
"toggle-audio": APP.conference.toggleAudioMuted.bind(APP.conference),
"toggle-video": APP.conference.toggleVideoMuted.bind(APP.conference),
"toggle-film-strip": APP.UI.toggleFilmStrip,
"toggle-chat": APP.UI.toggleChat,
"toggle-contact-list": APP.UI.toggleContactList,