Browse Source

remove double ping for mcp approval

Justin Quan 1 year ago
parent
commit
ac2babfd82
1 changed files with 0 additions and 3 deletions
  1. 0 3
      webview-ui/src/components/chat/ChatView.tsx

+ 0 - 3
webview-ui/src/components/chat/ChatView.tsx

@@ -155,9 +155,6 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
 							setSecondaryButtonText(undefined)
 							setSecondaryButtonText(undefined)
 							break
 							break
 						case "use_mcp_server":
 						case "use_mcp_server":
-							if (!isAutoApproved(lastMessage)) {
-								playSound("notification")
-							}
 							setTextAreaDisabled(isPartial)
 							setTextAreaDisabled(isPartial)
 							setClineAsk("use_mcp_server")
 							setClineAsk("use_mcp_server")
 							setEnableButtons(!isPartial)
 							setEnableButtons(!isPartial)