Commit 48d6a9b0 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

fix: AdHoc: Don’t raise on empty nodes

parent 39cb5cc7
Pipeline #9881 passed with stages
in 55 seconds
......@@ -50,8 +50,6 @@ class AdHoc(BaseModule):
raise StanzaError(response)
children = response.getQueryChildren()
if not children:
raise MalformedStanzaError('query children missing', response)
command_list = []
for item in children:
Supports Markdown
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