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

Zeroconf: Fix message handler

- Fix checking wrong attribute
- Add nbxmpp properties to event
parent 96f9fbc2
......@@ -47,7 +47,7 @@ def _messageCB(self, con, stanza, properties):
Called when we receive a message
if properties.is_error:
if properties.type.is_error:
return'Zeroconf MessageCB')
......@@ -119,6 +119,7 @@ def _messageCB(self, con, stanza, properties):
'msg_log_id': None,
'displaymarking': None,
'stanza_id': id_,
'properties': properties,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment