remove <ping> child in ping reply. Fixes #7286
This commit is contained in:
parent
610de0973d
commit
4e4b88cb5b
|
@ -1832,6 +1832,9 @@ ConnectionJingle, ConnectionIBBytestream):
|
|||
if not self.connection or self.connected < 2:
|
||||
return
|
||||
iq_obj = obj.stanza.buildReply('result')
|
||||
q = iq_obj.getTag('ping')
|
||||
if q:
|
||||
iq_obj.delChild(q)
|
||||
self.connection.send(iq_obj)
|
||||
|
||||
def _PrivacySetCB(self, con, iq_obj):
|
||||
|
|
Loading…
Reference in New Issue