mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
A task only reaches the queue after a failed send, so the fresh attempt never ran post_send_actions (edit-before-forward prompt / channel forward) — it failed before that point. The old guard skipped post_send_actions for resumed tasks (batch_index > 0 or sent ids present), which meant any send that needed a retry after partial progress silently lost its forward and edit prompt. post_send_actions is now run unconditionally on a successful queue send; it executes exactly once, after the whole sequence completed.