make_heartbeat: add parameter to make_message

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2021-07-13 23:14:04 +02:00
parent ad5822b360
commit 7f1d48c529

View file

@ -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],