From: Evan Prodromou Date: Thu, 26 Jun 2008 18:40:55 +0000 (-0400) Subject: add a function to show current address X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7a973f93a34920d47e0eeff5320a9125b45d08cb;p=quix0rs-gnu-social.git add a function to show current address darcs-hash:20080626184055-34904-05d1ef61bcf973b4b2c234b08708fd8c62805c2a.gz --- diff --git a/lib/jabber.php b/lib/jabber.php index 842e21c508..8f23e75b57 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -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) {