Fix Account Creat Wizzard, let it not use a removed function.

This commit is contained in:
Stephan Erb 2007-06-08 20:28:47 +00:00
parent 401a9b4c02
commit 1dd0c97838
1 changed files with 2 additions and 8 deletions

View File

@ -248,10 +248,7 @@ class Connection(ConnectionHandlers):
% (data[0], data[3])))
return
is_form = data[2]
if is_form:
conf = data[1]
else:
conf = data[1].asDict()
self.dispatch('NEW_ACC_CONNECTED', (conf, is_form))
return
if not data[1]: # wrong answer
@ -260,10 +257,7 @@ class Connection(ConnectionHandlers):
(data[0], data[3])))
return
is_form = data[2]
if is_form:
conf = data[1]
else:
conf = data[1].asDict()
self.dispatch('REGISTER_AGENT_INFO', (data[0], conf, is_form))
elif realm == common.xmpp.NS_PRIVACY:
if event == common.xmpp.features_nb.PRIVACY_LISTS_RECEIVED: