Fixed error registering a plugin. To add a feature to another plugin, it should look into xmpp.plugin dict
This commit is contained in:
committed by
Thom Nichols
parent
8b3b8aca9e
commit
d452085049
@@ -185,8 +185,8 @@ class xep_0009(base.base_plugin):
|
||||
self.activeCalls = []
|
||||
|
||||
def post_init(self):
|
||||
self.xmpp['xep_0030'].add_feature('jabber:iq:rpc')
|
||||
self.xmpp['xep_0030'].add_identity('automatition','rpc')
|
||||
self.xmpp.plugin['xep_0030'].add_feature('jabber:iq:rpc')
|
||||
self.xmpp.plugin['xep_0030'].add_identity('automatition','rpc')
|
||||
|
||||
def register_call(self, method, name=None):
|
||||
#@returns an string that can be used in acl commands.
|
||||
|
||||
Reference in New Issue
Block a user