diff options
author | Mario <mario@mariovavti.com> | 2021-05-26 11:25:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-26 11:25:36 +0000 |
commit | b7f124072fd8d4fec5b0c1ec1e56b3b854f640e7 (patch) | |
tree | 63e1e5a072f63171239bedd5caeabbb0ea7601c3 /Zotlabs/Lib | |
parent | ec02eda11323fe27d2b23e6d289eb3d97c9eddc9 (diff) | |
download | volse-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/Lib')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 6 |
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']); |