diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 6007e8627..3aa556e6e 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -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):