diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-20 15:58:29 +0900 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-20 16:23:02 +0900 |
commit | 7cd1cf32ae698965ed488ade17f63afd7d5afedf (patch) | |
tree | 45929eae4ee52b901167596b8d3117871f3ff67f /examples/adhoc_provider.py | |
parent | d099e353a4e2804a58153937719259518ab8439e (diff) | |
download | slixmpp-7cd1cf32ae698965ed488ade17f63afd7d5afedf.tar.gz slixmpp-7cd1cf32ae698965ed488ade17f63afd7d5afedf.tar.bz2 slixmpp-7cd1cf32ae698965ed488ade17f63afd7d5afedf.tar.xz slixmpp-7cd1cf32ae698965ed488ade17f63afd7d5afedf.zip |
Various XEPs: Remove deprecated aliases.
Diffstat (limited to 'examples/adhoc_provider.py')
-rwxr-xr-x | examples/adhoc_provider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/adhoc_provider.py b/examples/adhoc_provider.py index 72259555..2bab2f46 100755 --- a/examples/adhoc_provider.py +++ b/examples/adhoc_provider.py @@ -68,7 +68,7 @@ class CommandBot(slixmpp.ClientXMPP): session. Additional, custom data may be saved here to persist across handler callbacks. """ - form = self['xep_0004'].makeForm('form', 'Greeting') + form = self['xep_0004'].make_form('form', 'Greeting') form['instructions'] = 'Send a custom greeting to a JID' form.addField(var='greeting', ftype='text-single', |