aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2019-03-12 16:12:29 +1100
committerMike Macgirvin <mike@macgirvin.com>2019-03-12 16:12:29 +1100
commit3ec06705caed8459045875d03b8906e72405d6bb (patch)
treedfafbcc0774daafb5cbc66266b0f1f3da834bbb0
parent4e97fb0e587eed6875b1d3a2615b0997a7f13c63 (diff)
downloadvolse-hubzilla-3ec06705caed8459045875d03b8906e72405d6bb.tar.gz
volse-hubzilla-3ec06705caed8459045875d03b8906e72405d6bb.tar.bz2
volse-hubzilla-3ec06705caed8459045875d03b8906e72405d6bb.zip
perform zot6 discovery in import_author_xchan
-rwxr-xr-xinclude/items.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 51aa81017..c6dcd32c6 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);
}