diff options
author | Lance Stout <lancestout@gmail.com> | 2013-02-25 09:53:35 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-02-25 09:53:35 -0800 |
commit | 82bbe5d1a67613d5e1a23bec4260b9e6644d339b (patch) | |
tree | 2d7a61c4f64afc7485e5a6ae71b0fe972ab8d1e4 /sleekxmpp/plugins/xep_0009 | |
parent | 9a45ebd98bb03120f1eca3945eaa8777abe8ece0 (diff) | |
parent | a1d71d31e85df2cf6efc835c30592126ca9861f2 (diff) | |
download | slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.tar.gz slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.tar.bz2 slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.tar.xz slixmpp-82bbe5d1a67613d5e1a23bec4260b9e6644d339b.zip |
Merge branch 'develop'
Diffstat (limited to 'sleekxmpp/plugins/xep_0009')
-rw-r--r-- | sleekxmpp/plugins/xep_0009/rpc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0009/rpc.py b/sleekxmpp/plugins/xep_0009/rpc.py index 4e1c538b..3378c650 100644 --- a/sleekxmpp/plugins/xep_0009/rpc.py +++ b/sleekxmpp/plugins/xep_0009/rpc.py @@ -32,15 +32,15 @@ class XEP_0009(BasePlugin): register_stanza_plugin(RPCQuery, MethodCall)
register_stanza_plugin(RPCQuery, MethodResponse)
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('RPC Call', MatchXPath('{%s}iq/{%s}query/{%s}methodCall' % (self.xmpp.default_ns, RPCQuery.namespace, RPCQuery.namespace)),
self._handle_method_call)
)
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('RPC Call', MatchXPath('{%s}iq/{%s}query/{%s}methodResponse' % (self.xmpp.default_ns, RPCQuery.namespace, RPCQuery.namespace)),
self._handle_method_response)
)
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('RPC Call', MatchXPath('{%s}iq/{%s}error' % (self.xmpp.default_ns, self.xmpp.default_ns)),
self._handle_error)
)
|