From fdde6aeffe9855cde55ac971c60983f29570c818 Mon Sep 17 00:00:00 2001 From: Justin Ferrari Date: Thu, 2 Mar 2023 21:22:08 -0500 Subject: [PATCH] Fixed issue with send_message --- qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js b/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js index eae796af..b40105d0 100644 --- a/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js +++ b/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js @@ -648,14 +648,13 @@ class WebBrowser extends LitElement { }; const getSendChatResponse = (res) => { - if (res === true) { + if (res.signature) { return res } else if (res.error) { throw new Error(res.message); } else { throw new Error('ERROR: Could not send message'); } - }; const chatResponse = await sendMessageRequest();