]> git.mxchange.org Git - friendica.git/commitdiff
The local contact search now uses local data if present
authorMichael Vogel <icarus@dabo.de>
Sun, 5 Jun 2016 20:21:34 +0000 (22:21 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 5 Jun 2016 20:21:34 +0000 (22:21 +0200)
mod/dirfind.php

index 106c4c76a6060fc75ec1722aca1c0c7a7ba487cb..0d89f56f8280ae9cf5c3c483490b032415e61c80 100644 (file)
@@ -133,6 +133,8 @@ function dirfind_content(&$a, $prefix = "") {
                                if (poco_alternate_ostatus_url($result["url"]))
                                         continue;
 
+                               $result = get_contact_details_by_url($result["url"], local_user(), $result);
+
                                if ($result["name"] == "") {
                                        $urlparts = parse_url($result["url"]);
                                        $result["name"] = end(explode("/", $urlparts["path"]));