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)
|
gajim.logger.write(kind, jid, log_msg)
|
||||||
self.dispatch('MSGSENT', (jid, msg, keyID))
|
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):
|
def ack_subscribed(self, jid):
|
||||||
if not self.connection:
|
if not self.connection:
|
||||||
|
|
Loading…
Reference in New Issue