aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-23 12:24:42 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-23 12:24:42 +0100
commit3d0c6700db4ed28600ba2182eae4cdfd8e1a9a20 (patch)
tree7376dbe3243ceb0c17649044176201daed66294e /include
parent5012baba154979b361690cc3bae7471460331878 (diff)
downloadvolse-hubzilla-3d0c6700db4ed28600ba2182eae4cdfd8e1a9a20.tar.gz
volse-hubzilla-3d0c6700db4ed28600ba2182eae4cdfd8e1a9a20.tar.bz2
volse-hubzilla-3d0c6700db4ed28600ba2182eae4cdfd8e1a9a20.zip
yet one more place to use chanlink_hash() instead of chanlink_url()
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 285ee752f..a1acc456a 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1175,8 +1175,8 @@ function builtin_activity_puller($item, &$conv_responses) {
if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
- $url = (($item['author']['xchan_url'] && $item['author']['xchan_photo_s'])
- ? '<a href="' . chanlink_url($item['author']['xchan_url']) . '">' . '<img class="dropdown-menu-img-xs" src="' . zid($item['author']['xchan_photo_s']) . '" alt="' . urlencode($name) . '" />' . $name . '</a>'
+ $url = (($item['author_xchan'] && $item['author']['xchan_photo_s'])
+ ? '<a href="' . chanlink_hash($item['author_xchan']) . '">' . '<img class="dropdown-menu-img-xs" src="' . zid($item['author']['xchan_photo_s']) . '" alt="' . urlencode($name) . '" />' . $name . '</a>'
: '<a href="#" class="disabled">' . $name . '</a>'
);