summaryrefslogtreecommitdiff
path: root/lib/jabber.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jabber.php')
-rw-r--r--lib/jabber.php4
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) {