The server was publishing to the SSE broker before writing the HTMX response, causing a race: if the SSE event (IsOwn=false, left-aligned) arrived at the browser before HTMX appended the response (IsOwn=true, right-aligned), the SSE path won and messageExists() then blocked the correct HTMX append. Fix: write and flush the HTMX response first, then publish to SSE. This ensures the sender's own message lands in the DOM right-aligned before the SSE event fires. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| db | ||
| files | ||
| jobs | ||
| session | ||
| tablos | ||
| tasks | ||
| web | ||