Commit 9f5b83e0 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

CreateGroupchat: Show only connected accounts

parent b022f883
...@@ -62,7 +62,7 @@ def __init__(self, account): ...@@ -62,7 +62,7 @@ def __init__(self, account):
self.set_focus(self._ui.address_entry) self.set_focus(self._ui.address_entry)
def _fill_account_combo(self, account): def _fill_account_combo(self, account):
accounts = app.get_enabled_accounts_with_labels() accounts = app.get_enabled_accounts_with_labels(connected_only=True)
account_liststore = self._ui.account_combo.get_model() account_liststore = self._ui.account_combo.get_model()
for acc in accounts: for acc in accounts:
account_liststore.append(acc) account_liststore.append(acc)
......
Supports Markdown
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