also return deleted channels info in webfinger and document why

This commit is contained in:
Mario Vavti
2023-04-19 11:12:35 +02:00
parent d43485141f
commit fdd54057a8

View File

@@ -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) {