From 7a973f93a34920d47e0eeff5320a9125b45d08cb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 26 Jun 2008 14:40:55 -0400 Subject: [PATCH] add a function to show current address darcs-hash:20080626184055-34904-05d1ef61bcf973b4b2c234b08708fd8c62805c2a.gz --- lib/jabber.php | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.5