restored send_stanza, needed by xml console
This commit is contained in:
parent
85fbcb79e9
commit
8d15ac84be
|
@ -637,6 +637,11 @@ class Connection(ConnectionHandlers):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue