diff --git a/lib/jabber.php b/lib/jabber.php index 1e609377fd..77bc316dd7 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -117,6 +117,7 @@ function jabber_send_notice($to, $notice) { # Extra stuff defined by Twitter, needed by twitter clients function jabber_format_entry($profile, $notice) { + $noticeurl = common_local_url('shownotice', array('notice' => $notice->id)); $msg = jabber_format_notice($profile, $notice); @@ -135,6 +136,12 @@ function jabber_format_entry($profile, $notice) { $entry .= "".common_date_w3dtf($notice->created)."\n"; $entry .= "".common_date_w3dtf($notice->modified)."\n"; $entry .= "\n"; + + $html = "\n\n"; + $html .= "\n"; + $html .= ($notice->rendered) ? $notice->rendered : common_render_content($notice->content, $notice); + $html .= "\n\n"; + $html .= "\n\n"; $event = "\n"; $event .= "