correctly detect XEP-0199 answer from server.
This commit is contained in:
parent
0727ebd940
commit
419652d61f
1 changed files with 2 additions and 2 deletions
|
@ -425,11 +425,11 @@ class ConnectionBytestream:
|
||||||
# if we want to respect xep-0065 we have to check for proxy
|
# if we want to respect xep-0065 we have to check for proxy
|
||||||
# activation result in any result iq
|
# activation result in any result iq
|
||||||
real_id = unicode(iq_obj.getAttr('id'))
|
real_id = unicode(iq_obj.getAttr('id'))
|
||||||
if real_id[:3] != 'au_':
|
|
||||||
return
|
|
||||||
if real_id == self.awaiting_xmpp_ping_id:
|
if real_id == self.awaiting_xmpp_ping_id:
|
||||||
self.awaiting_xmpp_ping_id = None
|
self.awaiting_xmpp_ping_id = None
|
||||||
return
|
return
|
||||||
|
if real_id[:3] != 'au_':
|
||||||
|
return
|
||||||
frm = helpers.get_full_jid_from_iq(iq_obj)
|
frm = helpers.get_full_jid_from_iq(iq_obj)
|
||||||
id = real_id[3:]
|
id = real_id[3:]
|
||||||
if self.files_props.has_key(id):
|
if self.files_props.has_key(id):
|
||||||
|
|
Loading…
Add table
Reference in a new issue