Bluesky: Provide the correct user id while fetching content #1439

Merged
MrPetovan merged 3 commits from heluecht/friendica-addons:bluesky-notices into 2023.09-rc 2023-11-25 23:06:41 +01:00
Showing only changes of commit 48cde643f6 - Show all commits

View file

@ -1580,7 +1580,7 @@ function bluesky_get_user_pds(int $uid): string
} }
$did = DI::pConfig()->get($uid, 'bluesky', 'did'); $did = DI::pConfig()->get($uid, 'bluesky', 'did');
if (empty($did)) { if (empty($did)) {
Logger::debug('Blubb-1', ['uid' => $uid]); Logger::notice('Empty did for user', ['uid' => $uid]);
return ''; return '';
} }
$pds = bluesky_get_pds($did); $pds = bluesky_get_pds($did);