From 419652d61fa7496f260c3bc29fc1121b41a66ce5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 8 Feb 2008 07:58:23 +0000 Subject: [PATCH] correctly detect XEP-0199 answer from server. --- src/common/connection_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):