]> git.mxchange.org Git - friendica.git/commitdiff
Added App::get_cached_avatar_image usage on conversation wall of Normal View
authorZvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net>
Tue, 19 Jun 2012 18:40:14 +0000 (21:40 +0300)
committerfriendica <info@friendica.com>
Tue, 19 Jun 2012 23:05:39 +0000 (16:05 -0700)
include/conversation.php

index ee012232e22d74714e445db267912414aad26505..2244e8df7ff0bbd2d43fca95e1d32a835ffdfac5 100644 (file)
@@ -657,7 +657,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'])) && $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']) : '');
                                $dislike = ((x($dlike,$item['id'])) ? format_like($dlike[$item['id']],$dlike[$item['id'] . '-l'],'dislike',$item['id']) : '');