[omemo] Adapt to Gajim changes
This commit is contained in:
@@ -67,7 +67,7 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
|
||||
return False
|
||||
|
||||
def update_account_store(self):
|
||||
for account in sorted(app.contacts.get_accounts()):
|
||||
for account in sorted(app.settings.get_active_accounts()):
|
||||
if account in self.disabled_accounts:
|
||||
continue
|
||||
if account == 'Local':
|
||||
|
||||
@@ -69,7 +69,7 @@ class KeyDialog(Gtk.Dialog):
|
||||
self._groupchat = groupchat
|
||||
self._contact = contact
|
||||
self._windows = windows
|
||||
self._account = self._contact.account.name
|
||||
self._account = self._contact.account
|
||||
self._plugin = plugin
|
||||
self._omemo = self._plugin.get_omemo(self._account)
|
||||
self._own_jid = app.get_jid_from_account(self._account)
|
||||
|
||||
Reference in New Issue
Block a user