Use JID as default account name

Fixes #8939
This commit is contained in:
Philipp Hörist 2018-04-15 01:46:43 +02:00 committed by Philipp Hörist
parent e3066fb5ca
commit 53b38bd5d5
1 changed files with 1 additions and 0 deletions

View File

@ -2750,6 +2750,7 @@ class AccountCreationWizardWindow:
def get_config(self, login, server, savepass, password, anonymous=False): def get_config(self, login, server, savepass, password, anonymous=False):
config = {} config = {}
config['name'] = login config['name'] = login
config['account_label'] = '%s@%s' % (login, server)
config['hostname'] = server config['hostname'] = server
config['savepass'] = savepass config['savepass'] = savepass
config['password'] = password config['password'] = password