aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-26 11:25:36 +0000
committerMario <mario@mariovavti.com>2021-05-26 11:25:36 +0000
commitb7f124072fd8d4fec5b0c1ec1e56b3b854f640e7 (patch)
tree63e1e5a072f63171239bedd5caeabbb0ea7601c3 /Zotlabs
parentec02eda11323fe27d2b23e6d289eb3d97c9eddc9 (diff)
downloadvolse-hubzilla-b7f124072fd8d4fec5b0c1ec1e56b3b854f640e7.tar.gz
volse-hubzilla-b7f124072fd8d4fec5b0c1ec1e56b3b854f640e7.tar.bz2
volse-hubzilla-b7f124072fd8d4fec5b0c1ec1e56b3b854f640e7.zip
import_author_xchan(): do not import legacy zot
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index c7d001d21..5cd304679 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -2664,9 +2664,9 @@ class Libzot {
// we may only end up with one; which results in posts with no author name or photo and are a bit
// of a hassle to repair. If either or both are missing, do a full discovery probe.
- //if (!array_key_exists('id', $x)) {
- //return import_author_activitypub($x);
- //}
+ if(!isset($x['id']) && !isset($x['key']) && !isset($x['id_sig'])) {
+ return false;
+ }
$hash = self::make_xchan_hash($x['id'], $x['key']);