restore HTML in output, remove rump pubsub event code
darcs-hash:20080902030403-84dde-5f1576104104ea57d3e23401b59493c03d5a84d4.gz
This commit is contained in:
parent
ab92ba78ba
commit
fa123bef67
@ -131,16 +131,9 @@ function jabber_format_entry($profile, $notice) {
|
|||||||
$address .= "<address type='replyto' jid='" . jabber_daemon_address() . "' />\n";
|
$address .= "<address type='replyto' jid='" . jabber_daemon_address() . "' />\n";
|
||||||
$address .= "</addresses>\n";
|
$address .= "</addresses>\n";
|
||||||
|
|
||||||
$event = "<event xmlns='http://jabber.org/protocol/pubsub#event'>\n";
|
# FIXME: include a pubsub event, too.
|
||||||
$event .= "<items xmlns='http://jabber.org/protocol/pubsub' ";
|
|
||||||
$event .= "node='" . common_local_url('public') . "'>\n";
|
return $html . $entry . $address;
|
||||||
$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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function jabber_send_message($to, $body, $type='chat', $subject=NULL) {
|
function jabber_send_message($to, $body, $type='chat', $subject=NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user