diff options
author | Stefan de Konink <stefan@konink.de> | 2011-02-02 22:05:52 +0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-02-07 23:55:46 +0800 |
commit | 1ed06bebcdbe82e0c528c98134e381f5b4dcccad (patch) | |
tree | 7c4e6ad97f2741d5b41639533b851c066e468279 /sleekxmpp/plugins | |
parent | aa1996eba60229f5c843f8d4aae8421a80b41981 (diff) | |
download | slixmpp-1ed06bebcdbe82e0c528c98134e381f5b4dcccad.tar.gz slixmpp-1ed06bebcdbe82e0c528c98134e381f5b4dcccad.tar.bz2 slixmpp-1ed06bebcdbe82e0c528c98134e381f5b4dcccad.tar.xz slixmpp-1ed06bebcdbe82e0c528c98134e381f5b4dcccad.zip |
This fixes the configuration stuff, because type is form not submit with setNodeConfiguration.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0004.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0004.py b/sleekxmpp/plugins/xep_0004.py index 5d41d269..5a49d70f 100644 --- a/sleekxmpp/plugins/xep_0004.py +++ b/sleekxmpp/plugins/xep_0004.py @@ -57,6 +57,7 @@ class Form(ElementBase): return field def getXML(self, type='submit'): + self['type'] = type log.warning("Form.getXML() is deprecated API compatibility with plugins/old_0004.py") return self.xml |