Single Message window fails when sending empty message
Versions
- OS: Windows 10
- GTK Version: 3.24.25
- PyGObject Version: 3.38.0
- GLib Version : 2.66.2
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.1
Traceback
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/gtk/single_message.py", line 330, in _on_send_and_close_clicked
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/gtk/single_message.py", line 251, in _send_single_message
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/common/structs.py", line 74, in __init__
ValueError: Trying to send message without content
Steps to reproduce the problem
If you try to Send a Single Msg only with the To textbox filled and the other textboxes empty by send & close