Browse Source

Merge branch 'master' of github.com:jcbrand/converse.js

JC Brand 10 years ago
parent
commit
eeec4ebc76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/strophe.roster.js

+ 2 - 2
src/strophe.roster.js

@@ -72,7 +72,7 @@ Strophe.addConnectionPlugin('roster',
                 oldCallback.apply(this, arguments);
             }
         };
-        conn.connect = function(jid, pass, callback, wait, hold)
+        conn.connect = function(jid, pass, callback, wait, hold, route)
         {
             oldCallback = callback;
             if (typeof jid  == "undefined")
@@ -80,7 +80,7 @@ Strophe.addConnectionPlugin('roster',
             if (typeof pass == "undefined")
                 pass = null;
             callback = newCallback;
-            _connect.apply(conn, [jid, pass, callback, wait, hold]);
+            _connect.apply(conn, [jid, pass, callback, wait, hold, route]);
         };
         conn.attach = function(jid, sid, rid, callback, wait, hold, wind)
         {