always add local account to config file

This commit is contained in:
Yann Leboulanger 2007-07-08 16:35:05 +00:00
parent 296c5e7fba
commit ccad4e9c81
1 changed files with 4 additions and 0 deletions

View File

@ -5167,3 +5167,7 @@ class RosterWindow:
if len(gajim.connections) == 0: # if we have no account
gajim.interface.instances['account_creation_wizard'] = \
config.AccountCreationWizardWindow()
if not gajim.ZEROCONF_ACC_NAME in gajim.config.get_per('accounts'):
# Create zeroconf in config file
zeroconf = common.zeroconf.connection_zeroconf.ConnectionZeroconf(
gajim.ZEROCONF_ACC_NAME)