fix(gateway): finalize final stream edit on done

fix/verification-admin-route-recovery
Kid 2026-05-10 02:33:53 +08:00 committed by Teknium
parent c1cc3d4ea6
commit 1321bcf5fe
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class GatewayStreamConsumer:
# path below so we don't finalize here for it.
current_update_visible = await self._send_or_edit(
display_text,
finalize=got_segment_break,
finalize=(got_done or got_segment_break),
)
self._last_edit_time = time.monotonic()