From 8588d272e94872c4e23aa9a5ddd768363acb074c Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Fri, 26 Jul 2024 17:56:41 -0700 Subject: [PATCH] Hide chat view when default participant goes away Fix microsoft/vscode-copilot#1281 --- .../contrib/chat/browser/chatParticipantContributions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.ts b/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.ts index 0a70c41549aec..b4d532e3d1894 100644 --- a/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.ts +++ b/src/vs/workbench/contrib/chat/browser/chatParticipantContributions.ts @@ -191,7 +191,7 @@ export class ChatExtensionPointHandler implements IWorkbenchContribution { for (const extension of delta.removed) { for (const providerDescriptor of extension.value) { - this._participantRegistrationDisposables.deleteAndDispose(getParticipantKey(extension.description.identifier, providerDescriptor.name)); + this._participantRegistrationDisposables.deleteAndDispose(getParticipantKey(extension.description.identifier, providerDescriptor.id)); } } });