<confirm/> must be included if it's a message instead of an IQ. Fixes #5690
This commit is contained in:
parent
6d62571da3
commit
3353e0cb23
1 changed files with 1 additions and 1 deletions
|
@ -992,7 +992,7 @@ ConnectionCaps, ConnectionHandlersBase, ConnectionJingle):
|
||||||
if answer == 'yes':
|
if answer == 'yes':
|
||||||
confirm = iq_obj.getTag('confirm')
|
confirm = iq_obj.getTag('confirm')
|
||||||
reply = iq_obj.buildReply('result')
|
reply = iq_obj.buildReply('result')
|
||||||
if iq_obj.getType() == 'message':
|
if iq_obj.getName() == 'message':
|
||||||
reply.addChild(node=confirm)
|
reply.addChild(node=confirm)
|
||||||
self.connection.send(reply)
|
self.connection.send(reply)
|
||||||
elif answer == 'no':
|
elif answer == 'no':
|
||||||
|
|
Loading…
Add table
Reference in a new issue