mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-02 15:03:25 +02:00
21b1c0510f
When a DM is retried, the retry send generates a NEW ack code. The backend correctly maps retry ack → dm_id via _pending_acks, but the WebSocket emit was sending the retry ack code. The frontend DOM still has data-ack="<original_ack>" from the first send, so it could never match retry ACKs → delivery checkmark never appeared. Now both _on_ack() and _confirm_delivery() look up the original expected_ack from the database before emitting to the frontend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>