Limit composer length
Often times IRC servers will truncate messages which are too big.
This commit is contained in:
parent
cfbd91d257
commit
e7b69cec9a
3 changed files with 36 additions and 0 deletions
|
@ -222,6 +222,7 @@ export default class Composer extends Component {
|
|||
placeholder=${placeholder}
|
||||
enterkeyhint="send"
|
||||
onKeyDown=${this.handleInputKeyDown}
|
||||
maxlength=${this.props.maxLen}
|
||||
/>
|
||||
</form>
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue