Increase max messages length

This commit is contained in:
Pierre HUBERT 2021-03-06 15:10:49 +01:00
parent 82a6dcb65b
commit b45d4eaadd
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ const ConvChatWindow = {
class: "form-control",
placeholder: tr("New message..."),
});
inputText.maxLength = 200;
inputText.maxLength = ServerConfig.conf.max_conversation_message_len;
//Enable textarea 2.0 on the message
var textarea2 = new ComunicWeb.components.textarea();

View File

@ -457,7 +457,7 @@ const ConversationPageConvPart = {
class: "form-control",
placeholder: "New message...",
});
inputText.maxLength = 200;
inputText.maxLength = ServerConfig.conf.max_conversation_message_len;
inputText.focus();