From cda11a82bc3dd45fcaf56488b042baae06df3949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 11 Jul 2022 10:51:09 +0200 Subject: [PATCH] Await get_active_device call in fetch_bundles 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index bcb6855..5e9f89f 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -446,8 +446,8 @@ class XEP_0384(BasePlugin): await asyncio.gather( *map( lambda did: self.fetch_bundle(jid, did), - self.get_active_devices(jid) - ), # type: ignore + await self.get_active_devices(jid) + ), return_exceptions=True, )