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