mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-27 07:45:54 +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 ?
|
${this.chatMessageSize >= 750 ?
|
||||||
html`
|
html`
|
||||||
<div class="message-size-container" style=${this.imageFile && "margin-top: 10px;"}>
|
<div class="message-size-container" style=${this.imageFile && "margin-top: 10px;"}>
|
||||||
<div class="message-size" style="${this.chatMessageSize > 1000 && 'color: #bd1515'}">
|
<div class="message-size" style="${this.chatMessageSize > 4000 && 'color: #bd1515'}">
|
||||||
${`Your message size is of ${this.chatMessageSize} bytes out of a maximum of 1000`}
|
${`Your message size is of ${this.chatMessageSize} bytes out of a maximum of 4000`}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
` :
|
` :
|
||||||
@ -605,7 +605,7 @@ class ChatTextEditor extends LitElement {
|
|||||||
sendMessageFunc(props) {
|
sendMessageFunc(props) {
|
||||||
if(this.editor.isEmpty) return
|
if(this.editor.isEmpty) return
|
||||||
this.getMessageSize(this.editor.getJSON())
|
this.getMessageSize(this.editor.getJSON())
|
||||||
if (this.chatMessageSize > 1000 ) {
|
if (this.chatMessageSize > 4000 ) {
|
||||||
parentEpml.request('showSnackBar', get("chatpage.cchange29"));
|
parentEpml.request('showSnackBar', get("chatpage.cchange29"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user