From 7ef380678c9d20167fa7b8faa84114711ca6792c Mon Sep 17 00:00:00 2001 From: Phillip Date: Fri, 20 Jan 2023 15:47:12 +0200 Subject: [PATCH] send image without caption --- qortal-ui-plugins/plugins/core/components/ChatTextEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qortal-ui-plugins/plugins/core/components/ChatTextEditor.js b/qortal-ui-plugins/plugins/core/components/ChatTextEditor.js index 9d1efcdc..2315d609 100644 --- a/qortal-ui-plugins/plugins/core/components/ChatTextEditor.js +++ b/qortal-ui-plugins/plugins/core/components/ChatTextEditor.js @@ -603,7 +603,7 @@ class ChatTextEditor extends LitElement { } sendMessageFunc(props) { - if(this.editor.isEmpty) return + if(this.editor.isEmpty && this.iframeId !== 'newChat') return this.getMessageSize(this.editor.getJSON()) if (this.chatMessageSize > 4000 ) { parentEpml.request('showSnackBar', get("chatpage.cchange29"));