From 89eb4dfecee9a275255975ae713f2c34d51dbd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 13 Jul 2021 23:14:33 +0200 Subject: [PATCH] decrypt_message: msg.send isn't a coroutine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- slixmpp_omemo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index e60d752..0ecb0d2 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -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