Skip to content
Snippets Groups Projects
Commit cd99628a authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

get command list only if server answer with commands namespace. fixes #3460

parent bdf477e0
No related branches found
No related tags found
No related merge requests found
......@@ -445,7 +445,7 @@ class CommandWindow:
# no commands => no commands stage
# commands => command selection stage
query = response.getTag('query')
if query:
if query and query.getAttr('node') == xmpp.NS_COMMANDS:
items = query.getTags('item')
else:
items = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment