Closed Marc-Spector closed 2 years ago
Okay we just need to add a chat.sendFailed message to message.properties file
Also need to add a test for that or fix bad test.
Currently what broke isn't tested because we do not have any integration tests.
Since things are only unit tested the i18n response is mocked. A test would only produce the error if the i18n isn't mocked and there is an actual return of no value.
So to actually test it would require setting up an integration test with full data but we currently do not have that.
Just add max chars in input control
IRC supports max message lenght in 510 characters
by @4z0t
To Reproduce Open any chat (channel or private message) and trying to send the long message (use word generator, for example https://www.blindtextgenerator.com/lorem-ipsum) After the action, the message text field will be disabled.
Log or error message
Expected behavior Show an error or ask to the user to reduce the number of words
Screenshots
OS Windows