Large messages cause slowdown
Summary
I have sent about 30KB of text and now I am experiencing a delay when opening this chat.
Versions
- OS: Linux
- Gajim version: 1.4.7
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.1
Steps to reproduce the problem
- Create new account.
- Open chat to yourself.
- Create a large message, say 50kB.
- Send message to yourself.
- Close chat to yourself.
- Reopen chat to yourself.
Expected behavior
Large messages don't make window unresponsive for a period of time.
Actual behavior
Large messages can cause not responding status of application.
I think it's also possible to get a disconnect if the loading time will be long enough.