correctly detect XEP-0199 answer from server.

This commit is contained in:
Yann Leboulanger 2008-02-08 07:58:23 +00:00
parent 0727ebd940
commit 419652d61f
1 changed files with 2 additions and 2 deletions

View File

@ -425,11 +425,11 @@ class ConnectionBytestream:
# if we want to respect xep-0065 we have to check for proxy
# activation result in any result iq
real_id = unicode(iq_obj.getAttr('id'))
if real_id[:3] != 'au_':
return
if real_id == self.awaiting_xmpp_ping_id:
self.awaiting_xmpp_ping_id = None
return
if real_id[:3] != 'au_':
return
frm = helpers.get_full_jid_from_iq(iq_obj)
id = real_id[3:]
if self.files_props.has_key(id):