diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-19 11:12:35 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-19 11:12:35 +0200 |
commit | fdd54057a81ddffd6d12dbaa11cd2c2e3cc859c1 (patch) | |
tree | dbb07761a6896a334dc1829534ed337250c4789c /Zotlabs | |
parent | d43485141f23fa8521efa04298d0a87ce41e6531 (diff) | |
download | volse-hubzilla-fdd54057a81ddffd6d12dbaa11cd2c2e3cc859c1.tar.gz volse-hubzilla-fdd54057a81ddffd6d12dbaa11cd2c2e3cc859c1.tar.bz2 volse-hubzilla-fdd54057a81ddffd6d12dbaa11cd2c2e3cc859c1.zip |
also return deleted channels info in webfinger and document why
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Wfinger.php | 9 |
1 files 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) { |