From 639fe495a7416df73b6b23633258cc7953d33cb0 Mon Sep 17 00:00:00 2001 From: mic Date: Tue, 18 Jun 2024 21:08:03 +0200 Subject: [PATCH] replying to the right message. fixes #71 --- js/mzta-chatgpt.js | 8 ++++---- mzta-background.js | 30 +++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index 5bf7e4de..9d2f3d28 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -119,7 +119,7 @@ function chatpgt_scrollToBottom () { catch (err) { console.error('[ThunderAI] ', err); } } -function addCustomDiv(prompt_action,tabId) { +function addCustomDiv(prompt_action,tabId,mailMessageId) { // Create