Skip to content
Snippets Groups Projects
Commit 3353e0cb authored by Alexander Cherniuk's avatar Alexander Cherniuk
Browse files

<confirm/> must be included if it's a message instead of an IQ. Fixes #5690

parent 6d62571d
No related branches found
No related tags found
No related merge requests found
......@@ -992,7 +992,7 @@ ConnectionCaps, ConnectionHandlersBase, ConnectionJingle):
if answer == 'yes':
confirm = iq_obj.getTag('confirm')
reply = iq_obj.buildReply('result')
if iq_obj.getType() == 'message':
if iq_obj.getName() == 'message':
reply.addChild(node=confirm)
self.connection.send(reply)
elif answer == 'no':
......
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