]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
restore HTML in output, remove rump pubsub event code
authorEvan Prodromou <evan@prodromou.name>
Tue, 2 Sep 2008 03:04:03 +0000 (23:04 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 2 Sep 2008 03:04:03 +0000 (23:04 -0400)
darcs-hash:20080902030403-84dde-5f1576104104ea57d3e23401b59493c03d5a84d4.gz

lib/jabber.php

index 68bd0d8d35a652fc08339838859b10aada55bae9..ef99f8f467165df8e7b280737499185c132e0a97 100644 (file)
@@ -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) {