diff options
| author | haoyuren <13851610112@163.com> | 2026-03-15 19:13:57 -0500 |
|---|---|---|
| committer | haoyuren <13851610112@163.com> | 2026-03-15 19:13:57 -0500 |
| commit | c667ff6a58b36b67bb92ff5a20df646e0777c6d5 (patch) | |
| tree | 45d4fb4e043b98f706570a1aae58ad20c6d08f84 /tsconfig.web.json | |
| parent | 250c3c6cebe68a8a7e37032b550f1bd1c378508d (diff) | |
Fix OT ack/error swallowed when doc transitions to editor mode
When addEditorDoc is called while the bridge has in-flight OT ops
(awaitingConfirm), the ack/error response was ignored because
handleOtUpdate/handleOtError skipped editor docs entirely. This left
the bridge's OtClient stuck and the edit appeared lost until
removeEditorDoc re-discovered the discrepancy.
Fix: always process acks regardless of editor doc status, and only
skip OT errors for editor docs when the bridge has no OtClient.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'tsconfig.web.json')
0 files changed, 0 insertions, 0 deletions
