Speed up the contact search, proxy the images, search for addresses

This commit is contained in:
Michael Vogel
2016-04-16 15:01:03 +02:00
committed by Roland Haeder
parent 5bc17e0b91
commit 313586e224
3 changed files with 12 additions and 11 deletions

View File

@@ -556,7 +556,7 @@ function acl_lookup(&$a, $out_type = 'json') {
if($r) {
foreach($r as $g) {
$contacts[] = array(
"photo" => $g['photo'],
"photo" => proxy_url($g['photo'], false, PROXY_SIZE_MICRO),
"name" => $g['name'],
"nick" => (x($g['addr']) ? $g['addr'] : $g['url']),
"network" => $g['network'],