diff --git a/ChangeLog b/ChangeLog index b04851a..a1bcbe3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Version xxx: +2022-xx-xx Maxime “pep” Buquet + * Added: + - Coroutines in asyncio.wait is now deprecated. Added create_task calls Version 0.8.0: 2022-08-23 Maxime “pep” Buquet * Breaking: diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index bed6c83..bca8094 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -290,8 +290,8 @@ class XEP_0384(BasePlugin): if self.backend_loaded: self.xmpp['xep_0163'].add_interest(OMEMO_DEVICES_NS) await asyncio.wait([ - self._set_device_list(), - self._publish_bundle(), + asyncio.create_task(self._set_device_list()), + asyncio.create_task(self._publish_bundle()), ]) self._initial_publish_done = True