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(
*map(
lambda did: self.fetch_bundle(jid, did),
self.get_active_devices(jid)
), # type: ignore
await self.get_active_devices(jid)
),
return_exceptions=True,
)