aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net>2012-06-18 21:17:02 +0300
committerfriendica <info@friendica.com>2012-06-19 16:05:38 -0700
commitac50c9e84da4b938c706fd83dedef59e38243d45 (patch)
tree5e450a46bd599b537d423b1f41169b9bbb95aee8
parent9058029eef611846e705bdac77bb92cdf86eb92a (diff)
downloadvolse-hubzilla-ac50c9e84da4b938c706fd83dedef59e38243d45.tar.gz
volse-hubzilla-ac50c9e84da4b938c706fd83dedef59e38243d45.tar.bz2
volse-hubzilla-ac50c9e84da4b938c706fd83dedef59e38243d45.zip
Beginning to use App::get_cached_avatar_image for loading profile images in conversations
-rw-r--r--include/conversation.php2
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);