The local contact search now uses local data if present
This commit is contained in:
parent
3e7e866e13
commit
8fbcba0096
|
@ -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"]));
|
||||
|
|
Loading…
Reference in a new issue