Commit f3ae68af authored by jamiewalch@google.com's avatar jamiewalch@google.com

Fixed version check in client_session.js

BUG=None
TEST=Connections work again.

Review URL: http://codereview.chromium.org/7331005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91794 0039d316-1c4b-4281-b951-d872f2087c98
parent b90724ec
...@@ -229,7 +229,7 @@ remoting.ClientSession.prototype.registerConnection_ = ...@@ -229,7 +229,7 @@ remoting.ClientSession.prototype.registerConnection_ =
that.clientJid = xhr.responseText; that.clientJid = xhr.responseText;
// TODO(ajwong): Remove old version support. // TODO(ajwong): Remove old version support.
if (that.plugin.API_VERSION_ >= 2) { if (that.plugin.apiVersion >= 2) {
that.plugin.connect(that.hostJid, that.hostPublicKey, that.clientJid, that.plugin.connect(that.hostJid, that.hostPublicKey, that.clientJid,
that.accessCode); that.accessCode);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment