summaryrefslogtreecommitdiff
path: root/docs/create_plugin.rst
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-02-21 13:55:34 -0800
committerLance Stout <lancestout@gmail.com>2013-02-21 13:55:34 -0800
commit58f5e4702b143208bc80f8a507b358f2c2b1745d (patch)
treecdb944a57b37d37854329bf9a682a0356fa48368 /docs/create_plugin.rst
parent8c763fcf43b2690c4f02a9f577fc2d6d72917ee2 (diff)
parentd9906756cfc546bd182688fdcaeb0aa8fe96e6dd (diff)
downloadslixmpp-58f5e4702b143208bc80f8a507b358f2c2b1745d.tar.gz
slixmpp-58f5e4702b143208bc80f8a507b358f2c2b1745d.tar.bz2
slixmpp-58f5e4702b143208bc80f8a507b358f2c2b1745d.tar.xz
slixmpp-58f5e4702b143208bc80f8a507b358f2c2b1745d.zip
Merge pull request #224 from anton-ryzhov/no_deprecated_methods_usage
Don't use internally deprecated methods
Diffstat (limited to 'docs/create_plugin.rst')
-rw-r--r--docs/create_plugin.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/create_plugin.rst b/docs/create_plugin.rst
index 12efa84c..2b0514b8 100644
--- a/docs/create_plugin.rst
+++ b/docs/create_plugin.rst
@@ -222,7 +222,7 @@ handler function to process registration requests.
self.description = "In-Band Registration"
self.xep = "0077"
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('In-Band Registration',
MatchXPath('{%s}iq/{jabber:iq:register}query' % self.xmpp.default_ns),
self.__handleRegistration))
@@ -601,7 +601,7 @@ with some additional registration fields implemented.
self.form_instructions = ""
self.backend = UserStore()
- self.xmpp.registerHandler(
+ self.xmpp.register_handler(
Callback('In-Band Registration',
MatchXPath('{%s}iq/{jabber:iq:register}query' % self.xmpp.default_ns),
self.__handleRegistration))