X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fjabber.php;h=01aed8ffa54d8d6a351a8172ccedbb1b10529241;hb=15a9c869794ea3948086afa5310696e1250d9a26;hp=3dcdce5dbf349b87b629e9186bcb98ef519d22a9;hpb=b3b3af9a2eff10c272bb213eccd3dd3060bc5830;p=quix0rs-gnu-social.git diff --git a/lib/jabber.php b/lib/jabber.php index 3dcdce5dbf..01aed8ffa5 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -184,6 +184,11 @@ function jabber_format_entry($profile, $notice) } else { $xs->raw(common_render_content($notice->content, $notice)); } + $xs->text(" "); + $xs->element('a', array( + 'href'=>common_local_url('conversation', + array('id' => $notice->conversation)).'#notice-'.$notice->id + ),sprintf(_('[%s]'),$notice->id)); $xs->elementEnd('body'); $xs->elementEnd('html'); @@ -475,5 +480,5 @@ function jabber_public_notice($notice) function jabber_format_notice(&$profile, &$notice) { - return $profile->nickname . ': ' . $notice->content; + return $profile->nickname . ': ' . $notice->content . ' [' . $notice->id . ']'; }