Commit Graph

2 Commits

Author SHA1 Message Date
Guillem Hernandez Sola
2e38f048ae fix: always upload photos independently of video embed outcome
Previously, photo uploads were nested inside the `else` branch of
`if not video_embed`, meaning photos were only processed when a video
embed succeeded. This caused photo-only tweets to be posted as
text-only because `has_video` was never set, `video_embed` remained
None, and the photo loop was never reached.

Decouple photo collection from video outcome: warn if video failed,
then unconditionally iterate over media items to upload any photos
present. External link card logic is unchanged and still only triggers
when both video and image embeds are absent.
2026-05-11 12:48:13 +02:00
Guillem Hernandez Sola
02dc073213 Renames 2026-05-11 12:39:40 +02:00