Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

paweldomasdf932bb89f86
diff --git a/modules/xmpp/strophe.jingle.js b/modules/xmpp/strophe.jingle.js
index 662f0faa82..4eac5c3bc7 100644
--- a/modules/xmpp/strophe.jingle.js
+++ b/modules/xmpp/strophe.jingle.js
@@ -115,12 +115,12 @@ module.exports = function(XMPP, eventEmitter)
switch (action) {
case 'session-initiate':
var startMuted = $(iq).find('jingle>startmuted');
- if(startMuted && startMuted.length > 0)
+ if (startMuted && startMuted.length > 0)
{
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'),