Commit 2d05306
committed
🤖 fix: remove duplicate caught-up event in onChat subscription
The onChat handler was pushing a caught-up event after replayHistory,
but replayHistory already sends caught-up at the end of emitHistoricalEvents.
This resulted in two caught-up events being sent to the client.
Removed the duplicate push to clean up the code.1 parent 99759d1 commit 2d05306
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | 378 | | |
384 | 379 | | |
385 | 380 | | |
| |||
0 commit comments