XEP0065 schema violation
Bug description
Gajim sets the mode attribute in streamhost offer to "plain" but only "tcp" and "udp" are allowed. Gajim should set mode to "tcp" or not send this attribute which defaults to "tcp".
This breaks at least File Transfers with Empathy 2.32. Using attached patch fixes it.
XML sent by Gajim:
\<!-- Out -->
\<iq xmlns="jabber:client" to="receiver@jabberserver/resource" type="set" id="...">
\<query xmlns="http://jabber.org/protocol/bytestreams" mode="plain" sid="...">
\<streamhost host="..." jid="sender@jabberserver/resource" port="28011" />
\</query>
\</iq>