Await get_active_device call in fetch_bundles

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-07-11 10:51:09 +02:00
parent 8e9add345a
commit cda11a82bc
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -446,8 +446,8 @@ class XEP_0384(BasePlugin):
await asyncio.gather( await asyncio.gather(
*map( *map(
lambda did: self.fetch_bundle(jid, did), lambda did: self.fetch_bundle(jid, did),
self.get_active_devices(jid) await self.get_active_devices(jid)
), # type: ignore ),
return_exceptions=True, return_exceptions=True,
) )