From 0b7bece8e3b252cc3a234f86607f4f7f9b416ddd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 13 Apr 2023 11:01:57 +0200 Subject: remove pre zot6 compatibility tweaks --- Zotlabs/Lib/Libzot.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 8cd2718f4..13634e8dd 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -2353,19 +2353,6 @@ class Libzot { 'deleted' => (intval($hub['hubloc_deleted']) ? true : false) ]; - // version compatibility tweaks - - if (!strpos($z['url_sig'], '.')) { - $z['url_sig'] = 'sha256.' . $z['url_sig']; - } - - if (!$z['id_url']) { - $z['id_url'] = $z['url'] . '/channel/' . substr($z['address'], 0, strpos($z['address'], '@')); - } - if (!$z['site_id']) { - $z['site_id'] = Libzot::make_xchan_hash($z['url'], $z['sitekey']); - } - $ret[] = $z; } } -- cgit v1.2.3