Commit 1d290a7a authored by Dicson's avatar Dicson

typo

parent 4481b635
......@@ -771,7 +771,7 @@ def cleanup(self):
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):
......
......@@ -479,7 +479,6 @@ def send_groupchat_message(self, room_jid, message, account):
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment