Beginning to use App::get_cached_avatar_image for loading profile images
in conversations
This commit is contained in:
parent
358ffaef24
commit
88e7fe67de
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,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'])) ? $item['author-avatar'] : $item['thumb']);
|
$profile_avatar = ((strlen($item['author-avatar'])) ? $a->get_cached_avatar_image($item['author-avatar']) : $item['thumb']);
|
||||||
|
|
||||||
$locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => '');
|
$locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => '');
|
||||||
call_hooks('render_location',$locate);
|
call_hooks('render_location',$locate);
|
||||||
|
|
Loading…
Reference in a new issue