| Index: remoting/webapp/me2mom/remoting_session.js
|
| diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js
|
| index 8a605ddef32bfde41ab7fcbb6ee54df703d8c9ca..1a2629e8b3da1a3e6975a104e8147a9fa4966641 100644
|
| --- a/remoting/webapp/me2mom/remoting_session.js
|
| +++ b/remoting/webapp/me2mom/remoting_session.js
|
| @@ -55,8 +55,8 @@ function registerConnection() {
|
| var clientjid = xhr.responseText;
|
|
|
| remoting.plugin.sendIq = sendIq;
|
| - remoting.plugin.connectSandboxed(clientjid, remoting.hostjid,
|
| - remoting.accessCode);
|
| + remoting.plugin.connect(remoting.hostjid, clientjid,
|
| + remoting.accessCode);
|
| // TODO(ajwong): This should just be feedIq();
|
| window.setTimeout(feedIq, 1000);
|
| } else {
|
| @@ -123,8 +123,8 @@ function init() {
|
| if (remoting.connectMethod == 'sandboxed') {
|
| registerConnection();
|
| } else {
|
| - plugin.connect(remoting.username, remoting.hostjid,
|
| - remoting.xmppAuthToken, remoting.accessCode);
|
| + plugin.connectUnsandboxed(remoting.hostjid, remoting.username,
|
| + remoting.xmppAuthToken, remoting.accessCode);
|
| }
|
| } else {
|
| addToDebugLog('ERROR: remoting plugin not loaded');
|
|
|