aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-11 22:17:36 -0700
committerzotlabs <mike@macgirvin.com>2019-03-11 22:17:36 -0700
commita9172129d2f537eddcd273255895712718fe9543 (patch)
tree488cad49055cc6ff9b82467ee3c5e75e3e84fd8b /include
parent4e97fb0e587eed6875b1d3a2615b0997a7f13c63 (diff)
downloadvolse-hubzilla-a9172129d2f537eddcd273255895712718fe9543.tar.gz
volse-hubzilla-a9172129d2f537eddcd273255895712718fe9543.tar.bz2
volse-hubzilla-a9172129d2f537eddcd273255895712718fe9543.zip
check zot6 in import_author_xchan
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 51aa81017..9287c81db 100755
--- a/include/items.php
+++ b/include/items.php
@@ -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);
}