[omemo] Set trust per JID

Closes #442.
This commit is contained in:
Marcin Mielniczuk
2019-08-20 22:37:51 +02:00
parent 28b302d373
commit ddebd9381b
3 changed files with 7 additions and 6 deletions

View File

@@ -296,7 +296,7 @@ class KeyRow(Gtk.ListBoxRow):
image.set_tooltip_text(tooltip)
backend = self.get_toplevel()._omemo.backend
backend.storage.setTrust(self._identity_key, self.trust)
backend.storage.setTrust(self.jid, self._identity_key, self.trust)
@property
def active(self):