summaryrefslogtreecommitdiff
path: root/lib/jabber.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-18 03:02:52 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-18 03:02:52 -0400
commit03a84f45fd05f42c642392e9fe6916dc2790f396 (patch)
tree512845a9688d8a5e9b1ce36eb46eb60b3c7bf998 /lib/jabber.php
parent5f55c96157811ee22400824d91f28d33bec0e218 (diff)
forgot the user's name in HTML output
darcs-hash:20080718070252-84dde-27b01cd01b309ba079c38e9bd09a97b1626d479b.gz
Diffstat (limited to 'lib/jabber.php')
-rw-r--r--lib/jabber.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jabber.php b/lib/jabber.php
index 77bc316dd..a0f5080d0 100644
--- a/lib/jabber.php
+++ b/lib/jabber.php
@@ -139,6 +139,7 @@ function jabber_format_entry($profile, $notice) {
$html = "\n<html xmlns='http://jabber.org/protocol/xhtml-im'>\n";
$html .= "<body xmlns='http://www.w3.org/1999/xhtml'>\n";
+ $html .= "<a href='".common_profile_url($profile->nickname)."'>".$profile->nickname."</a>: ";
$html .= ($notice->rendered) ? $notice->rendered : common_render_content($notice->content, $notice);
$html .= "\n</body>\n";
$html .= "\n</html>\n";