From fdd54057a81ddffd6d12dbaa11cd2c2e3cc859c1 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 19 Apr 2023 11:12:35 +0200 Subject: also return deleted channels info in webfinger and document why --- Zotlabs/Module/Wfinger.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php index 048fcde3f..43b039530 100644 --- a/Zotlabs/Module/Wfinger.php +++ b/Zotlabs/Module/Wfinger.php @@ -76,7 +76,10 @@ class Wfinger extends \Zotlabs\Web\Controller { } } else { - $r = channelx_by_nick($channel); + // Also provide already deleted channels info here. + // This is required in the case where we need to verify keys + // of updates which we have got via directory sync. + $r = channelx_by_nick($channel, true); } } @@ -94,10 +97,6 @@ class Wfinger extends \Zotlabs\Web\Controller { 'href' => z_root() . '/owa', ], ]; - - - - } if($resource && $r) { -- cgit v1.2.3