File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -533,7 +533,6 @@ export class ChatAccessibilityService extends Disposable implements IChatAccessi
533
533
}
534
534
async acceptRequest ( ) : Promise < void > {
535
535
this . _audioCueService . playAudioCue ( AudioCue . chatRequestSent , true ) ;
536
- // Only play the pending cue if the response is not accepted within the timeout
537
536
setTimeout ( ( ) => {
538
537
if ( ! this . _hasReceivedRequest ) {
539
538
this . _responsePendingAudioCue = this . _audioCueService . playAudioCueLoop ( AudioCue . chatResponsePending , CHAT_RESPONSE_PENDING_AUDIO_CUE_LOOP_MS ) ;
@@ -542,7 +541,6 @@ export class ChatAccessibilityService extends Disposable implements IChatAccessi
542
541
}
543
542
acceptResponse ( response ?: IChatResponseViewModel ) : void {
544
543
this . _hasReceivedRequest = true ;
545
- // The response pending cue has started looping, time to cancel it
546
544
this . _responsePendingAudioCue ?. dispose ( ) ;
547
545
this . _audioCueService . playRandomAudioCue ( AudioCueGroupId . chatResponseReceived , true ) ;
548
546
if ( ! response ) {
You can’t perform that action at this time.
0 commit comments