From: Zvi ben Yaakov (a.k.a rdc) Date: Mon, 18 Jun 2012 18:17:02 +0000 (+0300) Subject: Beginning to use App::get_cached_avatar_image for loading profile images X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=88e7fe67de734035ec35621dd0dc4b29807e8ed6;p=friendica.git Beginning to use App::get_cached_avatar_image for loading profile images in conversations --- diff --git a/include/conversation.php b/include/conversation.php index 1d5a92284a..ee012232e2 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -308,7 +308,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) { if(($normalised != 'mailbox') && (x($a->contacts[$normalised]))) $profile_avatar = $a->contacts[$normalised]['thumb']; 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' => ''); call_hooks('render_location',$locate);