Merge pull request #928 from maximax123/fix-command

hot fix api.executeCommand
pull/1006/head 1346
hristoterezov 9 years ago committed by GitHub
commit 94366190a0
  1. 4
      modules/API/API.js

@ -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,

Loading…
Cancel
Save