fix(desktop): queue sends during dictation finalization

Co-authored-by: Kenny Lopez <klopez4212@gmail.com>
Signed-off-by: John Tennant <jtennant@squareup.com>
This commit is contained in:
John Tennant
2026-07-31 14:39:30 -04:00
co-authored by Kenny Lopez
parent 0da28eff4e
commit b83f7120df
@@ -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";