send image without caption

This commit is contained in:
Phillip 2023-01-20 15:47:12 +02:00
parent c747468ebf
commit 7ef380678c

View File

@ -603,7 +603,7 @@ class ChatTextEditor extends LitElement {
} }
sendMessageFunc(props) { sendMessageFunc(props) {
if(this.editor.isEmpty) return if(this.editor.isEmpty && this.iframeId !== 'newChat') return
this.getMessageSize(this.editor.getJSON()) this.getMessageSize(this.editor.getJSON())
if (this.chatMessageSize > 4000 ) { if (this.chatMessageSize > 4000 ) {
parentEpml.request('showSnackBar', get("chatpage.cchange29")); parentEpml.request('showSnackBar', get("chatpage.cchange29"));