From 4230aa1ff17cfb911e0ac5a43cf7b72700865117 Mon Sep 17 00:00:00 2001 From: Lyubomir Marinov Date: Thu, 11 Dec 2014 22:08:52 +0200 Subject: [PATCH] Renames a variable/field for the purposes of clarity. --- libs/strophe/strophe.jingle.sessionbase.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/strophe/strophe.jingle.sessionbase.js b/libs/strophe/strophe.jingle.sessionbase.js index 87e338a01..bacb9e63c 100644 --- a/libs/strophe/strophe.jingle.sessionbase.js +++ b/libs/strophe/strophe.jingle.sessionbase.js @@ -13,7 +13,7 @@ function SessionBase(connection, sid) { * in response to a user command in contrast to an automatic decision made * by the application logic. */ - this.muteByUser = true; + this.videoMuteByUser = false; } @@ -285,8 +285,8 @@ SessionBase.prototype.setVideoMute = function (mute, callback, options) { // The user's command to mute the (local) video takes precedence over any // automatic decision made by the application logic. if (byUser) { - this.muteByUser = mute; - } else if (this.muteByUser) { + this.videoMuteByUser = mute; + } else if (this.videoMuteByUser) { return; } if (mute == this.isVideoMute())