From b83f7120df89e46d8fa31b69a1b870e1d898801c Mon Sep 17 00:00:00 2001 From: John Tennant Date: Thu, 30 Jul 2026 13:12:46 -0400 Subject: [PATCH] fix(desktop): queue sends during dictation finalization Co-authored-by: Kenny Lopez Signed-off-by: John Tennant --- .../features/dictation/hooks/useMessageComposerDictation.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/src/features/dictation/hooks/useMessageComposerDictation.tsx b/desktop/src/features/dictation/hooks/useMessageComposerDictation.tsx index 960c390e6..e026c60c3 100644 --- a/desktop/src/features/dictation/hooks/useMessageComposerDictation.tsx +++ b/desktop/src/features/dictation/hooks/useMessageComposerDictation.tsx @@ -67,8 +67,10 @@ export function useMessageComposerDictation({ isStarting, isTranscribing, }); - if (decision === "stop-recording") { + if (decision !== "send") { sendAfterTranscriptionRef.current = true; + } + if (decision === "stop-recording") { stopRecording(); } return decision === "send";