diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index d984e5c..7af6e83 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -456,7 +456,7 @@ class XEP_0384(BasePlugin): return self._omemo.getDevices(jid.bare).get('active', []) def trust(self, jid: JID, device_id: int, ik: bytes) -> None: - self._omemo.setTrusted(jid.bare, device_id, ik, True) + self._omemo.setTrust(jid.bare, device_id, ik, True) def distrust(self, jid: JID, device_id: int, ik: bytes) -> None: self._omemo.setTrust(jid.bare, device_id, ik, False)