Commit e2562dcc authored by Dan Sully's avatar Dan Sully Committed by mathieui

Make session_bind_event awaitable

parent 7b69ae37
......@@ -12,8 +12,8 @@
:license: MIT, see LICENSE for more details
"""
import asyncio
import logging
import threading
from slixmpp import plugins, roster, stanza
from slixmpp.api import APIRegistry
......@@ -70,7 +70,7 @@ class BaseXMPP(XMLStream):
#: redirections that will be followed before quitting.
self.max_redirects = 5
self.session_bind_event = threading.Event()
self.session_bind_event = asyncio.Event()
#: A dictionary mapping plugin names to plugins.
self.plugin = PluginManager(self)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment