diff --git a/assistant/src/index.ts b/assistant/src/index.ts index 16c5c1453c8..6dca7518731 100755 --- a/assistant/src/index.ts +++ b/assistant/src/index.ts @@ -104,6 +104,12 @@ function sendOneMessage( if (m.type === 'daemon_status') { continue; } + // On auto-auth sockets the server may send a second auth_result + // in response to the client's auth message after we're already + // authenticated — ignore it so it doesn't resolve as the response. + if (m.type === 'auth_result') { + continue; + } if (m.type === 'session_info' && msg.type !== 'session_create') { continue; }