fix bug in connection_handlers: correctly get namespace

This commit is contained in:
Yann Leboulanger 2006-08-07 09:49:06 +00:00
parent 8aeac852be
commit 900e3a51dc
1 changed files with 1 additions and 1 deletions

View File

@ -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: