aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-30 03:22:01 -0800
committerfriendica <info@friendica.com>2011-11-30 03:22:01 -0800
commit8f381e01aebbddfed9f56ba21e18837e570dee19 (patch)
treec53042e80dde76ee90f14d30d9e13fa3ef02f344 /mod/message.php
parent73564df4d8e3dc42b9a1b179fb7c2ac8bc4b98b1 (diff)
downloadvolse-hubzilla-8f381e01aebbddfed9f56ba21e18837e570dee19.tar.gz
volse-hubzilla-8f381e01aebbddfed9f56ba21e18837e570dee19.tar.bz2
volse-hubzilla-8f381e01aebbddfed9f56ba21e18837e570dee19.zip
html_entity_decode D* incoming text
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php
index 97868ab18..d48db8807 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -187,7 +187,7 @@ function message_content(&$a) {
$o .= replace_macros($tpl, array(
'$id' => $rr['id'],
'$from_name' =>$rr['from-name'],
- '$from_url' => $a->get_baseurl() . '/redir/' . $rr['contact-id'],
+ '$from_url' => (($rr['network'] === NETWORK_DFRN) ? $a->get_baseurl() . '/redir/' . $rr['contact-id'] : $rr['url'],
'$sparkle' => ' sparkle',
'$from_photo' => $rr['thumb'],
'$subject' => template_escape((($rr['mailseen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>')),