diff --git a/src/config.py b/src/config.py index 3290ae1d3..3ec20724b 100644 --- a/src/config.py +++ b/src/config.py @@ -2244,7 +2244,7 @@ class AccountsWindow: if self.ignore_events: return email = widget.get_text().decode('utf-8') - if self.option_changed('zeroconf_email', mail): + if self.option_changed('zeroconf_email', email): self.need_relogin = True gajim.config.set_per('accounts', self.current_account, 'zeroconf_email', email)