Remove the occasional warning about XEP-0059 not loaded.
This commit is contained in:
parent
1a81b2f464
commit
45ccb31356
@ -119,7 +119,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)
|
base_plugin.post_init(self)
|
||||||
if self.xmpp['xep_0059']:
|
if 'xep_0059' in self.xmpp.plugin:
|
||||||
register_stanza_plugin(DiscoItems,
|
register_stanza_plugin(DiscoItems,
|
||||||
self.xmpp['xep_0059'].stanza.Set)
|
self.xmpp['xep_0059'].stanza.Set)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user