Merge pull request #14636 from annando/fix-get-did

DID has to be fetched all the time
This commit is contained in:
Tobias Diekershoff 2024-12-28 22:25:04 +01:00 committed by GitHub
commit f2c1b326cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -286,10 +286,6 @@ final class ATProtocol
*/
public function getUserDid(int $uid, bool $refresh = false): ?string
{
if (!$this->pConfig->get($uid, 'bluesky', 'post')) {
return null;
}
if (!$refresh) {
$did = $this->pConfig->get($uid, 'bluesky', 'did');
if (!empty($did)) {