From 900e3a51dc9036f57a32b8c1e917a3c6b33d3979 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 7 Aug 2006 09:49:06 +0000 Subject: [PATCH] fix bug in connection_handlers: correctly get namespace --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 671a56451..41d40f03f 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -741,7 +741,7 @@ class ConnectionDisco: identities.append(attr) elif i.getName() == 'feature': features.append(i.getAttr('var')) - elif i.getName() == 'x' and i.getAttr('xmlns') == common.xmpp.NS_DATA: + elif i.getName() == 'x' and i.getNamespace() == common.xmpp.NS_DATA: data.append(common.xmpp.DataForm(node=i)) jid = helpers.get_full_jid_from_iq(iq_obj) if transport_type and jid not in gajim.transport_type: