]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use profile URL instead of local URL
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 30 Sep 2008 21:05:42 +0000 (17:05 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 30 Sep 2008 21:05:42 +0000 (17:05 -0400)
darcs-hash:20080930210542-5ed1f-7432cf920da782ea220ef6b9e156cf1ea650a5b8.gz

lib/jabber.php

index bd7d6b7074d38acbeb713a124d67178812eebfbc..3d388bd01dbed13ca1fac68d03a484bb95b280d0 100644 (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";