diff --git a/packages/loro-websocket/src/client/index.ts b/packages/loro-websocket/src/client/index.ts index de9f11e..a60b9bc 100644 --- a/packages/loro-websocket/src/client/index.ts +++ b/packages/loro-websocket/src/client/index.ts @@ -717,8 +717,8 @@ export class LoroWebsocketClient { void this.sendRejoinRequest(roomId, msg.roomId, adaptor, active.room, auth); } else { // Remove local room state so client does not auto-retry unless requested - this.cleanupRoom(msg.roomId, msg.crdt); this.emitRoomStatus(roomId, RoomJoinStatus.Error); + this.cleanupRoom(msg.roomId, msg.crdt); } break; }