forked from GNUsocial/gnu-social
Ignore non-atom updates links in Webfinger
This commit is contained in:
parent
7f0df2f257
commit
961607bc5d
@ -34,7 +34,9 @@ class DiscoveryHints {
|
||||
$hints['salmon'] = $link['href'];
|
||||
break;
|
||||
case Discovery::UPDATESFROM:
|
||||
$hints['feedurl'] = $link['href'];
|
||||
if (empty($link['type']) || $link['type'] == 'application/atom+xml') {
|
||||
$hints['feedurl'] = $link['href'];
|
||||
}
|
||||
break;
|
||||
case Discovery::HCARD:
|
||||
$hints['hcardurl'] = $link['href'];
|
||||
|
Loading…
Reference in New Issue
Block a user