Author: asterix Date: 2008-02-08 08:58:23 +0100 (Fri, 08 Feb 2008) New Revision: 9315
Modified: trunk/src/common/connection_handlers.py Log: correctly detect XEP-0199 answer from server.
Modified: trunk/src/common/connection_handlers.py =================================================================== --- trunk/src/common/connection_handlers.py 2008-02-08 07:53:09 UTC (rev 9314) +++ trunk/src/common/connection_handlers.py 2008-02-08 07:58:23 UTC (rev 9315) @@ -425,11 +425,11 @@ # 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):