diff --git a/src/config.py b/src/config.py index 8cf06e3a60221bab34d6ea7879497499e6570925..7851b228c13d15f4f9283edd305e0740f4bc5b41 100644 --- a/src/config.py +++ b/src/config.py @@ -3655,7 +3655,11 @@ class AccountCreationWizardWindow: password = self.xml.get_object('password_entry').get_text().decode( 'utf-8') - jid = username + '@' + server + if anonymous: + jid = '' + else: + jid = username + '@' + jid += server # check if jid is conform to RFC and stringprep it try: jid = helpers.parse_jid(jid)