diff options
author | André Apitzsch <git@apitzsch.eu> | 2019-02-07 01:48:09 +0300 |
---|---|---|
committer | André Apitzsch <git@apitzsch.eu> | 2019-02-07 01:48:09 +0300 |
commit | faf5cd48f87f73e7f92382c4e339d532c1b70409 (patch) | |
tree | 1cbdefb471c07c40f913aea164913fdd50392a25 /nbxmpp/client.py | |
parent | d3df75cba9c969ef878290e51dc2cf74511acf92 (diff) |
Remove suffix from dispatcher_nb
Diffstat (limited to 'nbxmpp/client.py')
-rw-r--r-- | nbxmpp/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nbxmpp/client.py b/nbxmpp/client.py index e6695b7..8d8ab43 100644 --- a/nbxmpp/client.py +++ b/nbxmpp/client.py @@ -20,7 +20,7 @@ Client class establishes connection to XMPP Server and handles authentication import socket import logging -from . import transports_nb, dispatcher_nb, roster, protocol, bosh +from . import transports_nb, dispatcher, roster, protocol, bosh from .protocol import NS_TLS from .protocol import JID from .auth import SASL @@ -376,7 +376,7 @@ class NonBlockingClient: if 'Dispatcher' in self.__dict__: self.Dispatcher.PlugOut() self.got_features = False - dispatcher_nb.Dispatcher.get_instance().PlugIn(self) + dispatcher.Dispatcher.get_instance().PlugIn(self) on_next_receive('RECEIVE_DOCUMENT_ATTRIBUTES') elif mode == 'FAILURE': @@ -591,7 +591,7 @@ class NonBlockingClient: if requestRoster: # FIXME: used somewhere? roster.NonBlockingRoster.get_instance().PlugIn(self) - self.send(dispatcher_nb.Presence(to=jid, typ=typ)) + self.send(dispatcher.Presence(to=jid, typ=typ)) ############################################################################### ### following methods are moved from blocking client class of xmpppy |