From 72bd4d53502647fb87618c44a93602f06dd7d82d Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Tue, 14 Apr 2015 14:43:30 -0300 Subject: [PATCH] Allow passing authcid param introduced by https://github.com/strophe/strophejs/pull/113 --- roster/strophe.roster.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roster/strophe.roster.js b/roster/strophe.roster.js index 679684f..cd8f866 100755 --- a/roster/strophe.roster.js +++ b/roster/strophe.roster.js @@ -73,7 +73,7 @@ Strophe.addConnectionPlugin('roster', oldCallback.apply(this, arguments); } }; - conn.connect = function(jid, pass, callback, wait, hold, route) + conn.connect = function(jid, pass, callback, wait, hold, route, authcid) { oldCallback = callback; if (typeof jid == "undefined") @@ -81,7 +81,7 @@ Strophe.addConnectionPlugin('roster', if (typeof pass == "undefined") pass = null; callback = newCallback; - _connect.apply(conn, [jid, pass, callback, wait, hold, route]); + _connect.apply(conn, [jid, pass, callback, wait, hold, route, authcid]); }; conn.attach = function(jid, sid, rid, callback, wait, hold, wind) {