Add max length to message box.

pull/1049/head
Paul 2021-08-18 00:55:36 +01:00
parent 7fa93f1f22
commit cc28ea4b5c
1 changed files with 1 additions and 0 deletions

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)"