fix(app): a sent message keeps its place in the transcript, so each reply follows it

This commit is contained in:
2026-10-23 15:34:46 +01:00
parent d791fce36c
commit 37c155e6e9
4 changed files with 95 additions and 45 deletions
@@ -213,6 +213,7 @@ JsonMap applyChatEvent(JsonMap thread, JsonMap frame) {
messages.any(
(m) =>
m['id'] == id ||
m['native_message_id'] == id ||
(frame['operation_id'] != null &&
m['operation_id'] == frame['operation_id']),
)) {