Skip to content

Commit 4641b9e

Browse files
committed
simplify
1 parent b0c5c5f commit 4641b9e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/amazonq/src/lsp/chat/messages.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,9 @@ export function registerMessageListeners(
186186
break
187187
}
188188
case listConversationsRequestType.method:
189-
await resolveChatResponse(listConversationsRequestType.method, message.params, languageClient, webview)
190-
break
191189
case conversationClickRequestType.method:
192-
await resolveChatResponse(conversationClickRequestType.method, message.params, languageClient, webview)
193-
break
194190
case tabBarActionRequestType.method:
195-
await resolveChatResponse(tabBarActionRequestType.method, message.params, languageClient, webview)
191+
await resolveChatResponse(message.command, message.params, languageClient, webview)
196192
break
197193
case followUpClickNotificationType.method:
198194
if (!isValidAuthFollowUpType(message.params.followUp.type)) {

0 commit comments

Comments
 (0)