Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions assistant/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down