Commit 6521e476 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Dont use Local account

Fixes #281
parent 4113b099
...@@ -105,8 +105,11 @@ class OMEMOConfigDialog(GajimPluginConfigDialog): ...@@ -105,8 +105,11 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
def update_account_store(self): def update_account_store(self):
for account in sorted(app.contacts.get_accounts()): for account in sorted(app.contacts.get_accounts()):
if account not in self.disabled_accounts and \ if account in self.disabled_accounts:
not self.is_in_accountstore(account): continue
if account == 'Local':
continue
if not self.is_in_accountstore(account):
self.account_store.append(row=(account,)) self.account_store.append(row=(account,))
def update_account_combobox(self): def update_account_combobox(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment