diff options
author | lovetox <philipp@hoerist.com> | 2022-05-14 23:30:12 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2022-05-14 23:30:12 +0300 |
commit | 48d6a9b02b096f902bd6f7f039cb1bd3509f3477 (patch) | |
tree | f5ad7b10be73b4431378ed9d5a2b133076acff93 | |
parent | 39cb5cc7bc95f04a63249eada9e7bcd3ac0f986b (diff) |
fix: AdHoc: Don’t raise on empty nodes
-rw-r--r-- | nbxmpp/modules/adhoc.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nbxmpp/modules/adhoc.py b/nbxmpp/modules/adhoc.py index 5b6a3b0..8586a94 100644 --- a/nbxmpp/modules/adhoc.py +++ b/nbxmpp/modules/adhoc.py @@ -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: |