From 1d290a7a2ec800b31d6e05df08ea69f8b781ee47 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 19 Jul 2013 14:36:46 +0400 Subject: [PATCH] typo --- src/common/connection.py | 2 +- src/remote_control.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 18d42c40f..6bbea26ae 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -771,7 +771,7 @@ class Connection(CommonConnection, ConnectionHandlers): self._nec_agent_info_received) gajim.ged.remove_event_handler('message-outgoing', ged.OUT_CORE, self._nec_message_outgoing) - gajim.ged.remove_event_handler('message-outgoing', ged.OUT_CORE, + gajim.ged.remove_event_handler('gc-message-outgoing', ged.OUT_CORE, self._nec_gc_message_outgoing) def get_config_values_or_default(self): diff --git a/src/remote_control.py b/src/remote_control.py index 64b25a19c..5cdbd93bf 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -479,7 +479,6 @@ class SignalObject(dbus.service.Object): connected_account = self._get_account_for_groupchat(account, room_jid) if connected_account: connection = gajim.connections[connected_account] - connection.send_gc_message(room_jid, message) gajim.nec.push_outgoing_event(GcMessageOutgoingEvent(None, account=connected_account, jid=room_jid, message=message)) return DBUS_BOOLEAN(True)