Index: remoting/webapp/me2mom/client_session.js |
diff --git a/remoting/webapp/me2mom/client_session.js b/remoting/webapp/me2mom/client_session.js |
index 4940ed88fa18bc5e04959cf07e5d64ed18770f34..ec15ed6637f80f509aa2003f4e60f93942a51584 100644 |
--- a/remoting/webapp/me2mom/client_session.js |
+++ b/remoting/webapp/me2mom/client_session.js |
@@ -254,13 +254,8 @@ remoting.ClientSession.prototype.connectPluginToWcs_ = |
remoting.debug.log('Receiving Iq: ' + stanza); |
that.plugin.onIq(stanza); |
}); |
- if (remoting.useP2pApi) { |
- this.plugin.connect(this.hostJid, this.hostPublicKey, this.clientJid, |
- this.accessCode, remoting.useP2pApi); |
- } else { |
- that.plugin.connect(this.hostJid, this.hostPublicKey, this.clientJid, |
- this.accessCode); |
- } |
+ that.plugin.connect(this.hostJid, this.hostPublicKey, this.clientJid, |
+ this.accessCode); |
}; |
/** |