Commit ed895375 authored by Philipp Hörist's avatar Philipp Hörist

OMEMO: Correctly parse empty devicelist nodes

Fixes #94
parent 9fe5483e
Pipeline #4763 passed with stages
in 28 seconds
......@@ -209,6 +209,8 @@ class OMEMO:
pubsub_node = stanza.getTag('pubsub')
items_node = pubsub_node.getTag('items')
item = items_node.getTag('item')
if item is None:
return None
try:
return self._parse_devicelist(item)
......
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