decrypt_message: msg.send isn't a coroutine

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

View file

@ -645,7 +645,7 @@ class XEP_0384(BasePlugin):
if self.auto_heartbeat:
msg = self.make_heartbeat(jid)
asyncio.ensure_future(msg.send())
msg.send()
return body