Fixes typo in variable name(and a crash on undefined).

This commit is contained in:
paweldomas 2015-07-31 15:49:09 +02:00
parent 50e67a0658
commit df932bb89f
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ module.exports = function(XMPP, eventEmitter)
var audioMuted = startMuted.attr("audio");
var videoMuted = startMuted.attr("video");
eventEmitter.emit(XMPPEvents.START_MUTED_FROM_FOCUS,
autioMuted === "true", videoMuted === "true");
audioMuted === "true", videoMuted === "true");
}
sess = new JingleSession(
$(iq).attr('to'), $(iq).find('jingle').attr('sid'),