|
|
|
|
167
|
* @param options {object} connecting options - rid, sid, jid and password.
|
167
|
* @param options {object} connecting options - rid, sid, jid and password.
|
168
|
*/
|
168
|
*/
|
169
|
XMPP.prototype.attach = function (options) {
|
169
|
XMPP.prototype.attach = function (options) {
|
170
|
- logger.log("(TIME) Strophe attaching\t:" + window.performance.now(),options, options.jid);
|
|
|
|
|
170
|
+ logger.log("(TIME) Strophe Attaching\t:" + window.performance.now());
|
171
|
this.connection.attach(options.jid, options.sid, parseInt(options.rid,10)+1,
|
171
|
this.connection.attach(options.jid, options.sid, parseInt(options.rid,10)+1,
|
172
|
this.connectionHandler.bind(this, options.password));
|
172
|
this.connectionHandler.bind(this, options.password));
|
173
|
}
|
173
|
}
|