summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0128
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0128')
-rw-r--r--sleekxmpp/plugins/xep_0128/extended_disco.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0128/extended_disco.py b/sleekxmpp/plugins/xep_0128/extended_disco.py
index 93f8e8f0..5adc2368 100644
--- a/sleekxmpp/plugins/xep_0128/extended_disco.py
+++ b/sleekxmpp/plugins/xep_0128/extended_disco.py
@@ -61,8 +61,7 @@ class XEP_0128(BasePlugin):
self.disco.del_extended_info = self.del_extended_info
for op in self._disco_ops:
- self.api.register(getattr(self.static, op), op)
- self.api.register_default(getattr(self.static, op), op)
+ self.api.register(getattr(self.static, op), op, default=True)
def set_extended_info(self, jid=None, node=None, **kwargs):
"""