]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/jabber.php
add SUP links to RSS and Atom, too
[quix0rs-gnu-social.git] / 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";