Index: remoting/client/appengine/static_files/chromoting_session.js |
diff --git a/remoting/client/appengine/static_files/chromoting_session.js b/remoting/client/appengine/static_files/chromoting_session.js |
index 7c2a8b9fd3da6e84f8527ef036a5b04cc500b46d..d4e32237362ddaf9b03031b3e885d7a346c73a27 100644 |
--- a/remoting/client/appengine/static_files/chromoting_session.js |
+++ b/remoting/client/appengine/static_files/chromoting_session.js |
@@ -52,8 +52,7 @@ function registerConnection() { |
var clientjid = xhr.responseText; |
chromoting.plugin.sendIq = sendIq; |
- // TODO:(jamiewalch): Pass in the correct nonce. |
- chromoting.plugin.connectSandboxed(clientjid, chromoting.hostjid, ''); |
+ chromoting.plugin.connectSandboxed(clientjid, chromoting.hostjid); |
// TODO(ajwong): This should just be feedIq(); |
window.setTimeout(feedIq, 1000); |
} else { |
@@ -130,9 +129,8 @@ function init() { |
if (chromoting.connectMethod == "sandboxed") { |
registerConnection(); |
} else { |
- // TODO:(jamiewalch): Pass in the correct nonce. |
plugin.connect(chromoting.username, chromoting.hostjid, |
- chromoting.xmppAuthToken, ''); |
+ chromoting.xmppAuthToken); |
} |
} else { |
addToDebugLog('ERROR: chromoting plugin not loaded'); |