mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 07:03:41 +00:00
Merge pull request 'Bluesky: fix the fetching of media in quoted posts' (#1481) from heluecht/friendica-addons:bluesky-media into 2024.03-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1481
This commit is contained in:
commit
d11efc108c
1 changed files with 1 additions and 0 deletions
|
@ -1358,6 +1358,7 @@ function bluesky_add_media(stdClass $embed, array $item, int $fetch_uid, int $le
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'app.bsky.embed.recordWithMedia#view':
|
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);
|
$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);
|
$uri = bluesky_fetch_missing_post($uri, $item['uid'], $fetch_uid, Item::PR_FETCHED, $item['contact-id'], $level, $last_poll);
|
||||||
if ($uri) {
|
if ($uri) {
|
||||||
|
|
Loading…
Reference in a new issue