diff options
author | Zvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net> | 2012-06-18 21:17:02 +0300 |
---|---|---|
committer | Zvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net> | 2012-06-18 21:17:02 +0300 |
commit | 88e7fe67de734035ec35621dd0dc4b29807e8ed6 (patch) | |
tree | e2fa3b8597cdf39740b7041b5ba2a0f061e4b274 | |
parent | 358ffaef24e961dc6afd61090e86be1921106ca2 (diff) | |
download | volse-hubzilla-88e7fe67de734035ec35621dd0dc4b29807e8ed6.tar.gz volse-hubzilla-88e7fe67de734035ec35621dd0dc4b29807e8ed6.tar.bz2 volse-hubzilla-88e7fe67de734035ec35621dd0dc4b29807e8ed6.zip |
Beginning to use App::get_cached_avatar_image for loading profile images
in conversations
-rw-r--r-- | include/conversation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 1d5a92284..ee012232e 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); |