plugins now are checked for post_init having ran when process() is called
This commit is contained in:
@@ -35,6 +35,7 @@ class xep_0199(base.base_plugin):
|
||||
#self.xmpp.add_event_handler('session_start', self.handler_pingserver, threaded=True)
|
||||
|
||||
def post_init(self):
|
||||
base.base_plugin.post_init(self)
|
||||
self.xmpp.plugin['xep_0030'].add_feature('http://www.xmpp.org/extensions/xep-0199.html#ns')
|
||||
|
||||
def handler_pingserver(self, xml):
|
||||
|
||||
Reference in New Issue
Block a user