[bug] Sending very long messages makes clients on both sides very laggy and unusable
I was checking how long messages Jami can handle and it doesn't look very well - the growth of the time needed for copying text from text message input using Ctrl+C and Ctrl+V grows linearly or even worse - sending a message having about 500 lines takes 30 seconds and then, after sending the whole client is very laggy. It should be fixed to avoid people sending large, malicious messages just to freeze someone's Jami client.
Tested on GNU/Linux and Windows, the newest version.