mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
some merge fixes
This commit is contained in:
parent
7b77d80a73
commit
63c7c7c230
2 changed files with 5 additions and 1 deletions
|
|
@ -530,6 +530,8 @@ describe("webviewMessageHandler - message dialog preferences", () => {
|
|||
type: "showEditMessageDialog",
|
||||
messageTs: 123456789,
|
||||
text: "edited content",
|
||||
hasCheckpoint: false,
|
||||
images: undefined,
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ export const webviewMessageHandler = async (
|
|||
/**
|
||||
* Handles message editing operations with user confirmation
|
||||
*/
|
||||
const handleEditOperation = async (messageTs: number, editedContent: string): Promise<void> => {
|
||||
const handleEditOperation = async (messageTs: number, editedContent: string, images?: string[]): Promise<void> => {
|
||||
// Always check if the message has a checkpoint first
|
||||
const currentCline = provider.getCurrentCline()
|
||||
let hasCheckpoint = false
|
||||
|
|
@ -232,6 +232,7 @@ export const webviewMessageHandler = async (
|
|||
messageTs,
|
||||
text: editedContent,
|
||||
hasCheckpoint,
|
||||
images,
|
||||
})
|
||||
} else {
|
||||
// Send message to webview to show edit confirmation dialog
|
||||
|
|
@ -240,6 +241,7 @@ export const webviewMessageHandler = async (
|
|||
messageTs,
|
||||
text: editedContent,
|
||||
hasCheckpoint,
|
||||
images,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue