13 Oct 2008 09:05
Set Timeout during XMPP login
Hi,
Just a quick one. Can we set timeout value during user login? another
parameter for the XMPP.up()
var account = {
jid : 'arthur@.../Guide',
password : '42',
connectionSecurity : 1
};
XMPP.up(account);
Is there any other attributes beside the ones below? :
* jid: full JID, including resource (if not provided, will be
prompted (but other fields on the object will be ignored))
* password: password (if not provided, will be prompted, but as
long as jid is set, will keep other fields set on the object)
* connectionHost: host (if different from the domain part of the
JID)
* connectionPort: port (if different from 5223)
* connectionSecurity: SSL (0 or 1; 1 is default)
Thanks :D
RSS Feed