[omemo] Adapt to Gajim changes
This commit is contained in:
@@ -171,7 +171,7 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
|
||||
def cleardevice_button_clicked_cb(self, button, *args):
|
||||
active = self._ui.get_object('account_combobox').get_active()
|
||||
account = self.account_store[active][0]
|
||||
self.plugin.connections[account].publish_own_devices_list(new=True)
|
||||
app.connections[account].get_module('OMEMO').publish_own_devices_list(new=True)
|
||||
self.update_context_list()
|
||||
|
||||
def refresh_button_clicked_cb(self, button, *args):
|
||||
|
||||
@@ -60,7 +60,7 @@ class KeyDialog(Gtk.Dialog):
|
||||
self._windowinstances = windowinstances
|
||||
self._account = self._contact.account.name
|
||||
self._plugin = plugin
|
||||
self._con = plugin.connections[self._account]
|
||||
self._con = app.connections[self._account].get_module('OMEMO')
|
||||
self.omemostate = self._plugin.get_omemo(self._account)
|
||||
self._own_jid = app.get_jid_from_account(self._account)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user