diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 7417a7dc..f7e166c1 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -55,7 +55,7 @@ class NotConnectedError(Exception): connected. """ -class XMLStream(object): +class XMLStream(asyncio.BaseProtocol): """ An XML stream connection manager and event dispatcher.