When you set too long a chat name (>191 characters) it resulted in a server error (SQL name field limit).
Added limits to GUI: native and web. Validating the result on the keyserver before it reaches SQL.
Details
Details
- Tested on iOS, Android, and the web app.
- Now you can't input more characters than the limit set.
- If you do (older app version) the server throws error (before it reaches SQL).
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/modals/input.react.js | ||
---|---|---|
8–23 ↗ | (On Diff #22614) | I'm a little confused about BaseInputProps vs. InputProps. I did some research and it looks like this is only used for convenience of defining Props in PasswordInput, so I guess it's fine... |