add a function to show current address

darcs-hash:20080626184055-34904-05d1ef61bcf973b4b2c234b08708fd8c62805c2a.gz
This commit is contained in:
Evan Prodromou 2008-06-26 14:40:55 -04:00
parent fcc12459ed
commit 7a973f93a3

View File

@ -37,6 +37,10 @@ function jabber_normalize_jid($jid) {
}
}
function jabber_daemon_address() {
return common_config('xmpp', 'user') . '@' . common_config('xmpp', 'server');
}
function jabber_connect($resource=NULL) {
static $conn = NULL;
if (!$conn) {