diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-09-21 18:51:06 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-09-28 23:58:46 +0200 |
commit | 7c3e61950d902441dfb86de0cdebbc4ff38033a3 (patch) | |
tree | f714fc81382d320875ca7745f1f3d68c4ace78cf /examples/echo_component.py | |
parent | 61f89eef2eac74821fae12e0389e58dc1a05a075 (diff) | |
download | slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.tar.gz slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.tar.bz2 slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.tar.xz slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.zip |
Remove all deprecated alias in the core of slixmpp, and wherever they were used.
Diffstat (limited to 'examples/echo_component.py')
-rwxr-xr-x | examples/echo_component.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/echo_component.py b/examples/echo_component.py index ff379894..664fe311 100755 --- a/examples/echo_component.py +++ b/examples/echo_component.py @@ -95,10 +95,10 @@ if __name__ == '__main__': # may have interdependencies, the order in which you register them does # not matter. xmpp = EchoComponent(args.jid, args.password, args.server, args.port) - xmpp.registerPlugin('xep_0030') # Service Discovery - xmpp.registerPlugin('xep_0004') # Data Forms - xmpp.registerPlugin('xep_0060') # PubSub - xmpp.registerPlugin('xep_0199') # XMPP Ping + xmpp.register_plugin('xep_0030') # Service Discovery + xmpp.register_plugin('xep_0004') # Data Forms + xmpp.register_plugin('xep_0060') # PubSub + xmpp.register_plugin('xep_0199') # XMPP Ping # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() |