use profile URL instead of local URL

darcs-hash:20080930210542-5ed1f-7432cf920da782ea220ef6b9e156cf1ea650a5b8.gz
This commit is contained in:
Evan Prodromou 2008-09-30 17:05:42 -04:00
parent 411db90e25
commit fcca462c11

View File

@ -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";