]> git.mxchange.org Git - friendica.git/blobdiff - include/acl_selectors.php
rework autocomplete: space after inserting contact without id
[friendica.git] / include / acl_selectors.php
index 4a35fd0f088070aa13d575047fd1fff1ad5c180c..65f125b852e69a4668e124225ecc103c4f63d4c7 100644 (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'],
@@ -663,7 +663,7 @@ function acl_lookup(&$a, $out_type = 'json') {
  * @brief Searching for global contacts for autocompletion
  * 
  * @param App $a
- * @return array
+ * @return array with the search results
  */
 function navbar_complete(&$a) {
 
@@ -704,4 +704,4 @@ function navbar_complete(&$a) {
                }
        }
        return;
-}
\ No newline at end of file
+}