diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-09-01 23:04:03 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-09-01 23:04:03 -0400 |
commit | fa123bef67877c8933ab36649ab8d06f4aedb967 (patch) | |
tree | b1d938cead2288d2b7e2e68b8ca6b9a189c1dfcc /lib/jabber.php | |
parent | ab92ba78ba42397054254d785556df493067d962 (diff) |
restore HTML in output, remove rump pubsub event code
darcs-hash:20080902030403-84dde-5f1576104104ea57d3e23401b59493c03d5a84d4.gz
Diffstat (limited to 'lib/jabber.php')
-rw-r--r-- | lib/jabber.php | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/jabber.php b/lib/jabber.php index 68bd0d8d3..ef99f8f46 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -131,16 +131,9 @@ function jabber_format_entry($profile, $notice) { $address .= "<address type='replyto' jid='" . jabber_daemon_address() . "' />\n"; $address .= "</addresses>\n"; - $event = "<event xmlns='http://jabber.org/protocol/pubsub#event'>\n"; - $event .= "<items xmlns='http://jabber.org/protocol/pubsub' "; - $event .= "node='" . common_local_url('public') . "'>\n"; - $event .= "<item id='" . $notice->uri ."' />\n"; - $event .= "</items>\n"; - $event .= "</event>\n"; - # FIXME: include the pubsub event, too. -# return $html . $entry . $address; - return $entry . $address; -# return $entry . "\n" . $event; + # FIXME: include a pubsub event, too. + + return $html . $entry . $address; } function jabber_send_message($to, $body, $type='chat', $subject=NULL) { |