diff options
author | Zvi ben Yaakov (a.k.a rdc) <coderzvi@infosoc.net> | 2012-06-19 22:24:31 +0300 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-19 16:05:39 -0700 |
commit | 4977ef4142720473f0f3788c12bac4714cdc0d8f (patch) | |
tree | f57a4d2cd29528307319714e0d93f50c88850d35 | |
parent | ff2f7dfeef4a6c0f13f7ed0eb346a8ed04e60655 (diff) | |
download | volse-hubzilla-4977ef4142720473f0f3788c12bac4714cdc0d8f.tar.gz volse-hubzilla-4977ef4142720473f0f3788c12bac4714cdc0d8f.tar.bz2 volse-hubzilla-4977ef4142720473f0f3788c12bac4714cdc0d8f.zip |
Added App::get_cached_avater_image usage in profile_sidebar function for creating the $diaspora array that is used to populate diaspora_vcard.tpl. This allows the correct profile image revision to be used when dfrn_request friend requests are made.
-rw-r--r-- | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1155,9 +1155,9 @@ if(! function_exists('profile_sidebar')) { 'fullname' => $profile['name'], 'firstname' => $firstname, 'lastname' => $lastname, - 'photo300' => $a->get_baseurl() . '/photo/custom/300/' . $profile['uid'] . '.jpg', - 'photo100' => $a->get_baseurl() . '/photo/custom/100/' . $profile['uid'] . '.jpg', - 'photo50' => $a->get_baseurl() . '/photo/custom/50/' . $profile['uid'] . '.jpg', + 'photo300' => $a->get_cached_avatar_image($a->get_baseurl() . '/photo/custom/300/' . $profile['uid'] . '.jpg'), + 'photo100' => $a->get_cached_avatar_image($a->get_baseurl() . '/photo/custom/100/' . $profile['uid'] . '.jpg'), + 'photo50' => $a->get_cached_avatar_image($a->get_baseurl() . '/photo/custom/50/' . $profile['uid'] . '.jpg'), ); if (!$block){ |