Add max length to message box.

This commit is contained in:
Paul 2021-08-18 00:55:36 +01:00
parent 69cd410aff
commit b8c345f493

View file

@ -497,6 +497,7 @@ export default observer(({ channel }: Props) => {
hideBorder
maxRows={20}
id="message"
maxLength={2000}
onKeyUp={onKeyUp}
value={draft ?? ""}
padding="var(--message-box-padding)"