Hello,
Looking at this code in Ostatus_profile::ensureWebfinger()
$dhints = DiscoveryHints::fromXRD($xrd);
$hints = array_merge($hints, $dhints);
// If there's an Hcard, let's grab its info
if (array_key_exists('hcard', $hints)) {
if (!array_key_exists('profileurl', $hints) ||
$hints['hcard'] != $hints['profileurl']) {
$hcardHints = DiscoveryHints::fromHcardUrl($hints['hcard']);
$hints = array_merge($hcardHints, $hints);
}
Then looking at DiscoveryHints::fromXRD()
case Discovery::HCARD:
$hints['hcardurl'] = $link['href'];
break;
It seems DiscoveryHints stores something under the key "hcardurl", but
Ostatus_profile then (unsuccessfully) tries to read it from key "hcard".
Markus
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev