diff options
author | lovetox <philipp@hoerist.com> | 2021-02-09 01:03:48 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2021-02-09 01:03:48 +0300 |
commit | 58456bde9c454510b9003846205de927a2db41f1 (patch) | |
tree | e748a40b11a5215a0dfcfee928003d6a777df035 /nbxmpp/dispatcher.py | |
parent | 4aa0825d0a7629fffe8347429d0c0920cb04aa87 (diff) |
Dispatcher: Enable roster module
Diffstat (limited to 'nbxmpp/dispatcher.py')
-rw-r--r-- | nbxmpp/dispatcher.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nbxmpp/dispatcher.py b/nbxmpp/dispatcher.py index 77763d3..1804352 100644 --- a/nbxmpp/dispatcher.py +++ b/nbxmpp/dispatcher.py @@ -81,6 +81,7 @@ from nbxmpp.modules.vcard_temp import VCardTemp from nbxmpp.modules.vcard4 import VCard4 from nbxmpp.modules.ping import Ping from nbxmpp.modules.delimiter import Delimiter +from nbxmpp.modules.roster import Roster from nbxmpp.modules.misc import unwrap_carbon from nbxmpp.modules.misc import unwrap_mam from nbxmpp.util import get_properties_struct @@ -191,6 +192,7 @@ class StanzaDispatcher(Observable): self._modules['VCard4'] = VCard4(self._client) self._modules['Ping'] = Ping(self._client) self._modules['Delimiter'] = Delimiter(self._client) + self._modules['Roster'] = Roster(self._client) for instance in self._modules.values(): for handler in instance.handlers: |