Commit 3e4cf4a0 authored by Philipp Hörist's avatar Philipp Hörist

Change nbxmpp event we use for XMLConsole

parent 59428d2f
......@@ -510,12 +510,12 @@ class CommonConnection:
def _event_dispatcher(self, realm, event, data):
if realm == '':
if event == nbxmpp.transports_nb.DATA_RECEIVED:,
conn=self, stanza_str=data))
elif event == nbxmpp.transports_nb.DATA_SENT:, conn=self,
if event == 'STANZA_RECEIVED':
None, conn=self, stanza_str=str(data)))
elif event == 'STANZA_SENT':
None, conn=self, stanza_str=str(data)))
def change_status(self, show, msg, auto=False):
if not msg:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment