Skip to content

Commit

Permalink
Fix y-partyserver chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
waynetee authored Feb 16, 2025
1 parent 817540e commit 0366bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/y-partyserver/src/shared/chunking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const handleChunked = (
let start: Batch | undefined;

return (connection, message) => {
if (typeof message === "string") {
if (typeof message === "string" && !isBatchSentinel(message)) {
return;
}
if (isBatchSentinel(message)) {
Expand Down

0 comments on commit 0366bcb

Please sign in to comment.