hubloc in AS has been moved from data to meta a while ago

This commit is contained in:
Mario Vavti
2022-04-26 11:07:23 +02:00
parent 39602ede37
commit 01e82090b2

View File

@@ -1292,7 +1292,7 @@ class Libzot {
}
}
if ($AS->data['hubloc']) {
if ($AS->meta['hubloc']) {
$arr['item_verified'] = true;
}
@@ -2010,7 +2010,7 @@ class Libzot {
$arr['owner_xchan'] = $a['signature']['signer'];
}
if ($AS->data['hubloc'] || $arr['author_xchan'] === $arr['owner_xchan']) {
if ($AS->meta['hubloc'] || $arr['author_xchan'] === $arr['owner_xchan']) {
$arr['item_verified'] = true;
}