diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-26 14:40:55 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-26 14:40:55 -0400 |
commit | 7a973f93a34920d47e0eeff5320a9125b45d08cb (patch) | |
tree | 1c43cd9eba78a51a4216dfcd27afbd4a98860600 /lib | |
parent | fcc12459edd2b51af277e746417703678c8976de (diff) |
add a function to show current address
darcs-hash:20080626184055-34904-05d1ef61bcf973b4b2c234b08708fd8c62805c2a.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jabber.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/jabber.php b/lib/jabber.php index 842e21c50..8f23e75b5 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) { |