diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index 9d8074b..e60d752 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -547,7 +547,7 @@ class XEP_0384(BasePlugin): won't use the generated shared secret. """ - msg = self.xmpp.make_message(jid) + msg = self.xmpp.make_message(mto=jid) encrypted = self.encrypt_key_transport_message( plaintext=None, recipients=[jid],