[lib] Limit maximum chat name to prevent error
Summary:
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.
Test Plan:
- 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).
Reviewers: tomek, inka, michal
Reviewed By: inka
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D6739