From 8d15ac84becf4cb46d4c349ad79e863c43db5fbf Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Sun, 19 Mar 2006 16:53:17 +0000 Subject: [PATCH] restored send_stanza, needed by xml console --- src/common/connection.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 7b08adcf8..7cff6c434 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -636,7 +636,12 @@ class Connection(ConnectionHandlers): kind = 'single_msg_sent' gajim.logger.write(kind, jid, log_msg) self.dispatch('MSGSENT', (jid, msg, keyID)) - + + def send_stanza(self, stanza): + ''' send a stanza untouched ''' + if not self.connection: + return + self.connection.send(stanza) def ack_subscribed(self, jid): if not self.connection: