mirror of
https://github.com/friendica/friendica
synced 2024-12-25 08:00:17 +00:00
Added App::get_cached_avatar_image usage on conversation wall of Normal View
This commit is contained in:
parent
d1f81fff6b
commit
45b4867bd3
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
||||||
if(($normalised != 'mailbox') && (x($a->contacts,$normalised)))
|
if(($normalised != 'mailbox') && (x($a->contacts,$normalised)))
|
||||||
$profile_avatar = $a->contacts[$normalised]['thumb'];
|
$profile_avatar = $a->contacts[$normalised]['thumb'];
|
||||||
else
|
else
|
||||||
$profile_avatar = (((strlen($item['author-avatar'])) && $diff_author) ? $item['author-avatar'] : $thumb);
|
$profile_avatar = (((strlen($item['author-avatar'])) && $diff_author) ? $item['author-avatar'] : $a->get_cached_avatar_image($thumb));
|
||||||
|
|
||||||
$like = ((x($alike,$item['id'])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : '');
|
$like = ((x($alike,$item['id'])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : '');
|
||||||
$dislike = ((x($dlike,$item['id'])) ? format_like($dlike[$item['id']],$dlike[$item['id'] . '-l'],'dislike',$item['id']) : '');
|
$dislike = ((x($dlike,$item['id'])) ? format_like($dlike[$item['id']],$dlike[$item['id'] . '-l'],'dislike',$item['id']) : '');
|
||||||
|
|
Loading…
Reference in a new issue