diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index 3d66c681..a6fcc333 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -652,7 +652,7 @@ browser.runtime.onMessage.addListener((message, sender, sendResponse) => { current_message = message; current_tabId = message.tabId; current_mailMessageId = message.mailMessageId; - if(current_mailMessageId == -1) { // we are using the reply from the compose window! + if((current_mailMessageId == -1) && (current_action == '1')) { // we are using the reply from the compose window! current_action = '2'; // replace text } run();