Merge pull request #220 from Zalmoxisus/master

Fixes some typos that cause errors
pull/225/head 354
bgrozev 10 years ago
commit 70bc071cb8
  1. 2
      libs/modules/RTC.bundle.js
  2. 2
      libs/modules/xmpp.bundle.js
  3. 2
      modules/RTC/DataChannels.js
  4. 2
      modules/xmpp/strophe.emuc.js

@ -154,7 +154,7 @@ var DataChannels =
*/
bindDataChannelListener: function (peerConnection) {
if(!config.openSctp)
retrun;
return;
peerConnection.ondatachannel = this.onDataChannel;

@ -3796,7 +3796,7 @@ module.exports = function(XMPP, eventEmitter) {
var self = this;
// Remove old ssrcs coming from the jid
Object.keys(this.ssrc2jid).forEach(function (ssrc) {
if (self.ssrc2jid[ssrc] == jid) {
if (self.ssrc2jid[ssrc] == from) {
delete self.ssrc2jid[ssrc];
}
});

@ -153,7 +153,7 @@ var DataChannels =
*/
bindDataChannelListener: function (peerConnection) {
if(!config.openSctp)
retrun;
return;
peerConnection.ondatachannel = this.onDataChannel;

@ -570,7 +570,7 @@ module.exports = function(XMPP, eventEmitter) {
var self = this;
// Remove old ssrcs coming from the jid
Object.keys(this.ssrc2jid).forEach(function (ssrc) {
if (self.ssrc2jid[ssrc] == jid) {
if (self.ssrc2jid[ssrc] == from) {
delete self.ssrc2jid[ssrc];
}
});

Loading…
Cancel
Save