diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index 5638e3f..ee3073f 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -773,13 +773,9 @@ class XEP_0384(BasePlugin): elif _ignore_trust: if not _device_id or len(barejids) != 1: raise ErroneousParameter - bundle = self.bundles.get(barejids[0], {}).get(_device_id) - if bundle is None: - error = omemo.exceptions.MissingBundleException(barejids[0], _device_id) - raise omemo.exceptions.EncryptionProblemsException([error]) encrypted = await self._omemo().encryptRatchetForwardingMessage( - barejids[0], - bundle, + bare_jid=barejids[0], + bundle=None, expect_problems=expect_problems, ) else: