plugins now are checked for post_init having ran when process() is called
This commit is contained in:
committed by
Thom Nichols
parent
71ad715caa
commit
a2719b0bb0
@@ -31,6 +31,7 @@ class xep_0004(base.base_plugin):
|
||||
self.xmpp.add_handler("<message><x xmlns='jabber:x:data' /></message>", self.handler_message_xform)
|
||||
|
||||
def post_init(self):
|
||||
base.base_plugin.post_init(self)
|
||||
self.xmpp.plugin['xep_0030'].add_feature('jabber:x:data')
|
||||
|
||||
def handler_message_xform(self, xml):
|
||||
|
||||
Reference in New Issue
Block a user