diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-09-30 17:05:42 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-09-30 17:05:42 -0400 |
commit | fcca462c113a427c304809f91b2331fced6f5dc0 (patch) | |
tree | 5e646d2f9ce51e15f884a9bf94356db2eed5050d /lib/jabber.php | |
parent | 411db90e25a4ae2aa77a867da943d14769b405a4 (diff) |
use profile URL instead of local URL
darcs-hash:20080930210542-5ed1f-7432cf920da782ea220ef6b9e156cf1ea650a5b8.gz
Diffstat (limited to 'lib/jabber.php')
-rw-r--r-- | lib/jabber.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jabber.php b/lib/jabber.php index bd7d6b707..3d388bd01 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -123,7 +123,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 .= "<a href='".htmlspecialchars($profile->profileurl)."'>".$profile->nickname."</a>: "; $html .= ($notice->rendered) ? $notice->rendered : common_render_content($notice->content, $notice); $html .= "\n</body>\n"; $html .= "\n</html>\n"; |