Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(chat): revert char_limit for input (#14973)
Calinteodorb2e06c1c9480
diff --git a/react/features/chat/components/native/ChatInputBar.tsx b/react/features/chat/components/native/ChatInputBar.tsxindex 381961a3e3..b0fcf1f422 100644--- a/react/features/chat/components/native/ChatInputBar.tsx+++ b/react/features/chat/components/native/ChatInputBar.tsx@@ -10,7 +10,6 @@ import { ASPECT_RATIO_WIDE } from '../../../base/responsive-ui/constants';import IconButton from '../../../base/ui/components/native/IconButton';import Input from '../../../base/ui/components/native/Input';import { BUTTON_TYPES } from '../../../base/ui/constants.native';-import { CHAR_LIMIT } from '../../constants';import styles from './styles';@@ -92,7 +91,6 @@ class ChatInputBar extends Component<IProps, IState> {<InputblurOnSubmit = { false }customStyles = {{ container: styles.customInputContainer }}- maxLength = { CHAR_LIMIT }multiline = { false }onBlur = { this._onFocused(false) }onChange = { this._onChangeText }diff --git a/react/features/chat/components/web/ChatInput.tsx b/react/features/chat/components/web/ChatInput.tsxindex bb24220ce5..d274b2b81a 100644--- a/react/features/chat/components/web/ChatInput.tsx+++ b/react/features/chat/components/web/ChatInput.tsx@@ -8,7 +8,6 @@ import { translate } from '../../../base/i18n/functions';import { IconFaceSmile, IconSend } from '../../../base/icons/svg';import Button from '../../../base/ui/components/web/Button';import Input from '../../../base/ui/components/web/Input';-import { CHAR_LIMIT } from '../../constants';import { areSmileysDisabled } from '../../functions';import SmileysPanel from './SmileysPanel';@@ -137,7 +136,6 @@ class ChatInput extends Component<IProps, IState> {icon = { this.props._areSmileysDisabled ? undefined : IconFaceSmile }iconClick = { this._toggleSmileysPanel }id = 'chat-input-messagebox'- maxLength = { CHAR_LIMIT }maxRows = { 5 }onChange = { this._onMessageChange }onKeyPress = { this._onDetectSubmit }diff --git a/react/features/chat/constants.ts b/react/features/chat/constants.tsindex 1718235320..53b7776445 100644--- a/react/features/chat/constants.ts+++ b/react/features/chat/constants.ts@@ -48,5 +48,3 @@ export const TIMESTAMP_FORMAT = 'H:mm';* The namespace for system messages.*/export const MESSAGE_TYPE_SYSTEM = 'system_chat_message';--export const CHAR_LIMIT = 500;