From 7cd1cf32ae698965ed488ade17f63afd7d5afedf Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 20 Sep 2016 15:58:29 +0900 Subject: Various XEPs: Remove deprecated aliases. --- examples/adhoc_provider.py | 2 +- examples/adhoc_user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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', diff --git a/examples/adhoc_user.py b/examples/adhoc_user.py index 91e2e1ac..8bdb675b 100755 --- a/examples/adhoc_user.py +++ b/examples/adhoc_user.py @@ -94,7 +94,7 @@ class CommandUserBot(slixmpp.ClientXMPP): # label="Your greeting" /> # - form = self['xep_0004'].makeForm(ftype='submit') + form = self['xep_0004'].make_form(ftype='submit') form.addField(var='greeting', value=session['greeting']) -- cgit v1.2.3