Skip to content

Commit e0dbbac

Browse files
committed
fix(amazonq): acknowledgement is not adding to suppressPrompts when pressed
1 parent 721522a commit e0dbbac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function registerMessageListeners(
138138
break
139139
}
140140
case DISCLAIMER_ACKNOWLEDGED: {
141-
void AmazonQPromptSettings.instance.disablePrompt('amazonQChatDisclaimer')
141+
void AmazonQPromptSettings.instance.update('amazonQChatDisclaimer', true)
142142
break
143143
}
144144
case chatRequestType.method: {

packages/core/src/amazonq/webview/messages/messageDispatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function handleWebviewEvent(msg: any, webViewToAppsMessagePublishers: Map
9696
return
9797
}
9898
case 'disclaimer-acknowledged': {
99-
void AmazonQPromptSettings.instance.disablePrompt('amazonQChatDisclaimer')
99+
void AmazonQPromptSettings.instance.update('amazonQChatDisclaimer', true)
100100
return
101101
}
102102
case 'update-welcome-count': {

0 commit comments

Comments
 (0)