diff options
author | Mario <mario@mariovavti.com> | 2024-02-08 19:32:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-08 19:32:40 +0000 |
commit | 5fbc203367baffc65e631358478b5d6be5943999 (patch) | |
tree | 549f042cc940ec6a748a8ca8728cd4c73ebaadd8 /Zotlabs/Lib | |
parent | 08884c44fb0ee68671a070a8b47aa16224d33881 (diff) | |
download | volse-hubzilla-5fbc203367baffc65e631358478b5d6be5943999.tar.gz volse-hubzilla-5fbc203367baffc65e631358478b5d6be5943999.tar.bz2 volse-hubzilla-5fbc203367baffc65e631358478b5d6be5943999.zip |
mark items verified in zot delivery also if either LDSignature or EddsaSignature verified
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index c062ff16b..ba75d9fa9 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1284,7 +1284,7 @@ class Libzot { } } - if (isset($AS->meta['hubloc']) && $AS->meta['hubloc']) { + if (!empty($AS->meta['hubloc']) || $AS->sigok) { $item['item_verified'] = true; } @@ -2076,7 +2076,7 @@ class Libzot { // WARNING: the presence of both source_xchan and non-zero item_uplink here will cause a delivery loop $arr['item_uplink'] = 0; - if (isset($AS->meta['hubloc']) || $arr['author_xchan'] === $arr['owner_xchan']) { + if (!empty($AS->meta['hubloc']) || $arr['author_xchan'] === $arr['owner_xchan'] || $AS->sigok) { $arr['item_verified'] = true; } |