mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-12 02:05:51 +00:00
increase chat msg size to 4000
This commit is contained in:
parent
0a16625ca6
commit
c747468ebf
@ -507,8 +507,8 @@ class ChatTextEditor extends LitElement {
|
||||
${this.chatMessageSize >= 750 ?
|
||||
html`
|
||||
<div class="message-size-container" style=${this.imageFile && "margin-top: 10px;"}>
|
||||
<div class="message-size" style="${this.chatMessageSize > 1000 && 'color: #bd1515'}">
|
||||
${`Your message size is of ${this.chatMessageSize} bytes out of a maximum of 1000`}
|
||||
<div class="message-size" style="${this.chatMessageSize > 4000 && 'color: #bd1515'}">
|
||||
${`Your message size is of ${this.chatMessageSize} bytes out of a maximum of 4000`}
|
||||
</div>
|
||||
</div>
|
||||
` :
|
||||
@ -605,7 +605,7 @@ class ChatTextEditor extends LitElement {
|
||||
sendMessageFunc(props) {
|
||||
if(this.editor.isEmpty) return
|
||||
this.getMessageSize(this.editor.getJSON())
|
||||
if (this.chatMessageSize > 1000 ) {
|
||||
if (this.chatMessageSize > 4000 ) {
|
||||
parentEpml.request('showSnackBar', get("chatpage.cchange29"));
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user