Bluesky: fix the fetching of media in quoted posts

This commit is contained in:
Michael 2024-03-10 06:16:37 +00:00 committed by Tobias Diekershoff
parent 3da448b01f
commit d5dfa8028c

View file

@ -1358,6 +1358,7 @@ function bluesky_add_media(stdClass $embed, array $item, int $fetch_uid, int $le
break;
case 'app.bsky.embed.recordWithMedia#view':
bluesky_add_media($embed->media, $item, $fetch_uid, $level, $last_poll);
$original_uri = $uri = bluesky_get_uri($embed->record->record);
$uri = bluesky_fetch_missing_post($uri, $item['uid'], $fetch_uid, Item::PR_FETCHED, $item['contact-id'], $level, $last_poll);
if ($uri) {