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 @@ class ConnectionHandlersZeroconf(connection_handlers.ConnectionHandlersBase):
"""
Called when we receive a message
"""
if properties.is_error:
if properties.type.is_error:
return
log.info('Zeroconf MessageCB')
......@@ -119,6 +119,7 @@ class ConnectionHandlersZeroconf(connection_handlers.ConnectionHandlersBase):
'msg_log_id': None,
'displaymarking': None,
'stanza_id': id_,
'properties': properties,
}
app.nec.push_incoming_event(
......
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