perform zot6 discovery in import_author_xchan

This commit is contained in:
Mike Macgirvin 2019-03-12 16:12:29 +11:00
parent 4e97fb0e58
commit 3ec06705ca

View File

@ -914,6 +914,15 @@ function import_author_xchan($x) {
if(array_key_exists('network',$x) && $x['network'] === 'zot')
return $y;
// perform zot6 discovery
if($x['url']) {
$y = discover_by_webbie($x['url'],'zot6');
if($y) {
return $y;
}
}
if($x['network'] === 'rss') {
$y = import_author_rss($x);
}