Imrpoved avatar handling when storing them/partly use of "micro"
This commit is contained in:
parent
f8a20a15d3
commit
0b1188b7fe
8 changed files with 43 additions and 24 deletions
|
@ -191,8 +191,8 @@ function ping_init(&$a) {
|
|||
function xmlize($n){
|
||||
|
||||
$contact = get_contact_details_by_url($n['url']);
|
||||
if (isset($contact["thumb"]))
|
||||
$n['photo'] = proxy_url($contact["thumb"], false, PROXY_SIZE_MICRO);
|
||||
if (isset($contact["micro"]))
|
||||
$n['photo'] = proxy_url($contact["micro"], false, PROXY_SIZE_MICRO);
|
||||
else
|
||||
$n['photo'] = proxy_url($n['photo'], false, PROXY_SIZE_MICRO);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue