Message empty when using a subject
When using sendxmpp with the -s flag to send a subject, only the subject appears. The message text will be empty. It seems to me that the use of the subject flag is not consistent with other clients as well. Pidgin seems to handle it well and displays both the message and the subject, while conversation omits the subject.
Steps to reproduce
- echo foo | sendxmpp -tls -f /usr/local/share/zabbix/alertscripts/.sendxmpprc -s "bar" "firstname.lastname@example.org"
- This will result in a message that just has bar as the subject, the message itself will be empty.
- echo foo | sendxmpp -tls -f /usr/local/share/zabbix/alertscripts/.sendxmpprc "email@example.com"
- This will result in a message with the text foo, as expected.
OS version: arch linux, cinnamon
GTK version: 3.16.2-1
PyGTK version: 2.24.0-5