bug: Bluesky plugin ignores media attachments -- no blob upload support #234
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
BlueskyService::publish()acceptsarray $mediabut never uses it. The plugin declaressupportsMedia(): trueandgetSupportedMediaTypes(): ['image'], but only creates text posts with optional external link card embeds.The AT Protocol supports image attachments via blob uploads (
com.atproto.repo.uploadBlob), which should be referenced asapp.bsky.embed.imagesin the post record.Expected behavior
When
$mediais non-empty:POST /xrpc/com.atproto.repo.uploadBlobapp.bsky.embed.imagesembed with the returned blob refsapp.bsky.embed.recordWithMediato combine link card + imagesCurrent behavior
Only link card embeds are created. Images from the article are silently ignored.
Affected file
source/packages/plg_mokosuitecross_bluesky/src/Extension/BlueskyService.phpBranch created:
feature/234-bug-bluesky-plugin-ignores-media-attachm