Skip to content

Commit 3ee1937

Browse files
fix(mobile): editing a queued message into /btw no longer saves it to the main thread
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1aabf71 commit 3ee1937

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎apps/mobile/src/state/use-thread-composer-state.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,14 @@ export function useThreadComposerState(input: {
495495
);
496496
return;
497497
}
498+
// A queued message stays in its thread, so saving `/side` would send it to main.
499+
if (parseSideChatCommand(text)) {
500+
Dialog.alert(
501+
"Queued message not updated",
502+
"A queued message can't move to a side chat. Remove /side or /btw to save it.",
503+
);
504+
return;
505+
}
498506
const finishSave = startQueuedRunEditSave(threadKey);
499507
if (finishSave === null) return;
500508
savingQueuedEditRef.current = true;

0 commit comments

Comments
 (0)