More fields in gcontact, contact search respects "hide" setting

This commit is contained in:
Michael Vogel 2016-01-06 14:13:59 +01:00
commit 2bad2cdd91
9 changed files with 120 additions and 87 deletions

View file

@ -169,10 +169,10 @@ function ostatus_fetchauthor($xpath, $context, $importer, &$contact, $onlyfetch)
}
// @todo: Addr
update_gcontact($contact["url"], $contact["network"],
$author["author-avatar"], $contact["name"],
$contact["nick"], $contact["location"],
$contact["about"]);
update_gcontact(array("url" => $contact["url"], "network" => $contact["network"],
"photo" => $author["author-avatar"], "name" => $contact["name"],
"nick" => $contact["nick"], "location" => $contact["location"],
"about" => $contact["about"], "generation" => 2));
}
return($author);