From 8fbcba00964632b8d8cb117eb8a73510c4f1014a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 5 Jun 2016 22:21:34 +0200 Subject: [PATCH] The local contact search now uses local data if present --- mod/dirfind.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/dirfind.php b/mod/dirfind.php index 106c4c76a6..0d89f56f82 100644 --- a/mod/dirfind.php +++ b/mod/dirfind.php @@ -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"]));