Commit 99486bcc authored by Philipp Hörist's avatar Philipp Hörist

OMEMO: Don’t fail on empty pubsub nodes

parent 562a26fd
......@@ -124,7 +124,7 @@ class OMEMO(BaseModule):
raise_if_error(items)
if items is None:
if not items:
yield task.set_result(None)
yield _parse_devicelist(items[0])
......@@ -164,7 +164,7 @@ class OMEMO(BaseModule):
raise_if_error(items)
if items is None:
if not items:
yield task.set_result(None)
yield _parse_bundle(items[0])
......
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