aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-09 15:58:19 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-09 15:58:19 -0800
commitfba2603304353f83a54addf2b6b8acb52fa7ee87 (patch)
tree5e4076d1c508291a1650f9dbdecb57bf28ca8a09 /include/conversation.php
parent7d5acef20a0d285dbacaefb04052d669acb63db5 (diff)
downloadvolse-hubzilla-fba2603304353f83a54addf2b6b8acb52fa7ee87.tar.gz
volse-hubzilla-fba2603304353f83a54addf2b6b8acb52fa7ee87.tar.bz2
volse-hubzilla-fba2603304353f83a54addf2b6b8acb52fa7ee87.zip
add avatars to likes/dislikes/etc.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index a5fe573cd..c278dcf12 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1024,8 +1024,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'])
- ? '<a href="' . chanlink_url($item['author']['xchan_url']) . '">' . $name . '</a>'
+ $url = (($item['author']['xchan_url'] && $item['author']['xchan_photo_s'])
+ ? '<a href="' . chanlink_url($item['author']['xchan_url']) . '">' . '<img class="response-photo" src="' . zid($item['author']['xchan_photo_s']) . ' alt="' . urlencode($name) . '" /> ' . $name . '</a>'
: '<a href="#" class="disabled">' . $name . '</a>'
);