<confirm/> must be included if it's a message instead of an IQ. Fixes #5690
This commit is contained in:
parent
6d62571da3
commit
3353e0cb23
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue