diff --git a/omemo/ui.py b/omemo/ui.py index 4db7595..5b2c6da 100644 --- a/omemo/ui.py +++ b/omemo/ui.py @@ -105,8 +105,11 @@ class OMEMOConfigDialog(GajimPluginConfigDialog): def update_account_store(self): for account in sorted(app.contacts.get_accounts()): - if account not in self.disabled_accounts and \ - not self.is_in_accountstore(account): + if account in self.disabled_accounts: + continue + if account == 'Local': + continue + if not self.is_in_accountstore(account): self.account_store.append(row=(account,)) def update_account_combobox(self):