}
}
+function jabber_daemon_address() {
+ return common_config('xmpp', 'user') . '@' . common_config('xmpp', 'server');
+}
+
function jabber_connect($resource=NULL) {
static $conn = NULL;
if (!$conn) {
'address bar of your browser). If that user isn\'t you, ' .
'or if you didn\'t request this confirmation, just ignore this message.';
- jabber_send_message($address, $body);
+ jabber_send_message($address, $body);
}
function jabber_special_presence($type, $to=NULL, $show=NULL, $status=NULL) {
function jabber_format_notice(&$profile, &$notice) {
return $profile->nickname . ': ' . $notice->content;
}
-
-# Dike this out for now
-function jabber_is_subscribed($address) {
- return false;
-}