diff --git a/packages/botbuilder-adapter-web/src/web_adapter.ts b/packages/botbuilder-adapter-web/src/web_adapter.ts index 18238c6ae..5123be7d3 100644 --- a/packages/botbuilder-adapter-web/src/web_adapter.ts +++ b/packages/botbuilder-adapter-web/src/web_adapter.ts @@ -200,7 +200,7 @@ export class WebAdapter extends BotAdapter { if (channel === 'websocket') { // If this turn originated with a websocket message, respond via websocket var ws = clients[activity.recipient.id]; - if (ws) { + if (ws && ws.readyState === 1) { try { ws.send(JSON.stringify(message)); } catch (err) {