restored send_stanza, needed by xml console

This commit is contained in:
Dimitur Kirov 2006-03-19 16:53:17 +00:00
parent 85fbcb79e9
commit 8d15ac84be
1 changed files with 6 additions and 1 deletions

View File

@ -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: