Need to run post_init properly.
This commit is contained in:
parent
2076d506b4
commit
acdf9e2d22
2 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,7 @@ class xep_0030(base_plugin):
|
||||||
|
|
||||||
def post_init(self):
|
def post_init(self):
|
||||||
"""Handle cross-plugin dependencies."""
|
"""Handle cross-plugin dependencies."""
|
||||||
|
base_plugin.post_init(self)
|
||||||
if self.xmpp['xep_0059']:
|
if self.xmpp['xep_0059']:
|
||||||
register_stanza_plugin(DiscoItems, self.xmpp['xep_0059'].stanza.Set)
|
register_stanza_plugin(DiscoItems, self.xmpp['xep_0059'].stanza.Set)
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,7 @@ class xep_0059(base_plugin):
|
||||||
|
|
||||||
def post_init(self):
|
def post_init(self):
|
||||||
"""Handle inter-plugin dependencies."""
|
"""Handle inter-plugin dependencies."""
|
||||||
|
base_plugin.post_init(self)
|
||||||
self.xmpp['xep_0030'].add_feature(Set.namespace)
|
self.xmpp['xep_0030'].add_feature(Set.namespace)
|
||||||
|
|
||||||
def iterate(self, stanza, interface):
|
def iterate(self, stanza, interface):
|
||||||
|
|
Loading…
Reference in a new issue