changeset 468378e1f13c in /home/hg/repos/gajim author: noonien <fsm...@kondorgulasch.de> branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=468378e1f13c description: Use send_message instead of pushing an event and print at own when sending remotely (when possibe). Fixes #7457
diffstat: src/remote_control.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diffs (18 lines): diff -r aa361fee32cd -r 468378e1f13c src/remote_control.py --- a/src/remote_control.py Mon Sep 09 17:36:21 2013 +0200 +++ b/src/remote_control.py Mon Sep 02 14:35:54 2013 +0200 @@ -442,11 +442,9 @@ ctrl = gajim.interface.msg_win_mgr.search_control(jid, connected_account) if ctrl: - ctrl.print_conversation(message, frm='outgoing') - - gajim.nec.push_outgoing_event(MessageOutgoingEvent(None, - account=connected_account, jid=jid, message=message, - keyID=keyID, type_=type_, control=ctrl)) + ctrl.send_message(message) + else: + gajim.nec.push_outgoing_event(MessageOutgoingEvent(None, account=connected_account, jid=jid, message=message, keyID=keyID, type_=type_, control=ctrl)) return DBUS_BOOLEAN(True) return DBUS_BOOLEAN(False) _______________________________________________ Commits mailing list Commits@gajim.org http://lists.gajim.org/cgi-bin/listinfo/commits