Fix XEP-0115 with the new API registry.
This commit is contained in:
parent
488f7ed886
commit
3ee3fdca91
1 changed files with 2 additions and 3 deletions
|
@ -78,9 +78,8 @@ class XEP_0115(BasePlugin):
|
||||||
self.static = StaticCaps(self.xmpp, disco.static)
|
self.static = StaticCaps(self.xmpp, disco.static)
|
||||||
|
|
||||||
for op in self._disco_ops:
|
for op in self._disco_ops:
|
||||||
self.api.register(getattr(self.static, op), 'xep_0115', op)
|
self.api.register(getattr(self.static, op), op)
|
||||||
self.api.register_default(getattr(self.static, op),
|
self.api.register_default(getattr(self.static, op), op)
|
||||||
'xep_0115', op)
|
|
||||||
|
|
||||||
self._run_node_handler = disco._run_node_handler
|
self._run_node_handler = disco._run_node_handler
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue