Author: js Date: 2008-07-15 16:22:34 +0200 (Tue, 15 Jul 2008) New Revision: 9937
Modified: trunk/src/remote_control.py Log: Fix #4100.
dbus-monitor actually showed the traceback that wouldn't appear anywhere else.
Note to others: DBus.String needs to be converted using str()!
Modified: trunk/src/remote_control.py =================================================================== --- trunk/src/remote_control.py 2008-07-15 13:51:20 UTC (rev 9936) +++ trunk/src/remote_control.py 2008-07-15 14:22:34 UTC (rev 9937) @@ -653,10 +653,10 @@ @dbus.service.method(INTERFACE, in_signature='ss', out_signature='') def send_xml(self, xml, account): if account: - gajim.connections[account].send_stanza(xml) + gajim.connections[account].send_stanza(str(xml)) else: for acc in gajim.contacts.get_accounts(): - gajim.connections[acc].send_stanza(xml) + gajim.connections[acc].send_stanza(str(xml))
@dbus.service.method(INTERFACE, in_signature='ssss', out_signature='') def join_room(self, room_jid, nick, password, account):