summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0045/muc.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-12-13 21:25:41 +0100
committermathieui <mathieui@mathieui.net>2021-12-13 21:25:41 +0100
commitbe6dde17f16e85b50361a3db243e9b2e40b2cb5d (patch)
tree35b9f3cf15303684e821641cb1adf0ed72464296 /slixmpp/plugins/xep_0045/muc.py
parent14ae84d6661e7966125e0e6853074818bf83ec05 (diff)
downloadslixmpp-be6dde17f16e85b50361a3db243e9b2e40b2cb5d.tar.gz
slixmpp-be6dde17f16e85b50361a3db243e9b2e40b2cb5d.tar.bz2
slixmpp-be6dde17f16e85b50361a3db243e9b2e40b2cb5d.tar.xz
slixmpp-be6dde17f16e85b50361a3db243e9b2e40b2cb5d.zip
Revert "Replace asyncio.ensure_future() with asyncio.create_task()"
This reverts commit bac6a4b2bf2fc98401e0de7168c4a5cf31b08b37. This is not actually something we want
Diffstat (limited to 'slixmpp/plugins/xep_0045/muc.py')
-rw-r--r--slixmpp/plugins/xep_0045/muc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0045/muc.py b/slixmpp/plugins/xep_0045/muc.py
index bfb8e571..21f5c896 100644
--- a/slixmpp/plugins/xep_0045/muc.py
+++ b/slixmpp/plugins/xep_0045/muc.py
@@ -342,7 +342,7 @@ class XEP_0045(BasePlugin):
maxchars = 9
else:
maxstanzas = int(maxhistory)
- return asyncio.create_task(
+ return asyncio.ensure_future(
self.join_muc_wait(
room=room,
nick=nick,