Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2021-02-09 01:03:48 +0300
committerlovetox <philipp@hoerist.com>2021-02-09 01:03:48 +0300
commit58456bde9c454510b9003846205de927a2db41f1 (patch)
treee748a40b11a5215a0dfcfee928003d6a777df035 /nbxmpp/dispatcher.py
parent4aa0825d0a7629fffe8347429d0c0920cb04aa87 (diff)
Dispatcher: Enable roster module
Diffstat (limited to 'nbxmpp/dispatcher.py')
-rw-r--r--nbxmpp/dispatcher.py2
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: