diff options
author | Sangeeth Saravanaraj <sangeeth@riptideio.com> | 2015-04-29 14:44:25 +0530 |
---|---|---|
committer | Sangeeth Saravanaraj <sangeeth@riptideio.com> | 2015-04-29 14:44:25 +0530 |
commit | 61a7cecb319c5628973906250ed973f21883cfd4 (patch) | |
tree | fd2ffea9cbe160dd92fad74a1ce577a22ab2be4b /sleekxmpp/plugins/xep_0332/stanza/data.py | |
parent | 80b60fc0483b21c8d5829b61cabbf9b46aa2c2fb (diff) | |
download | slixmpp-61a7cecb319c5628973906250ed973f21883cfd4.tar.gz slixmpp-61a7cecb319c5628973906250ed973f21883cfd4.tar.bz2 slixmpp-61a7cecb319c5628973906250ed973f21883cfd4.tar.xz slixmpp-61a7cecb319c5628973906250ed973f21883cfd4.zip |
Prefixed request, response and data with http. Avoided (plugin_attrib) name collision with other plugins.
Diffstat (limited to 'sleekxmpp/plugins/xep_0332/stanza/data.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0332/stanza/data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0332/stanza/data.py b/sleekxmpp/plugins/xep_0332/stanza/data.py index 9a08426b..765536eb 100644 --- a/sleekxmpp/plugins/xep_0332/stanza/data.py +++ b/sleekxmpp/plugins/xep_0332/stanza/data.py @@ -11,14 +11,14 @@ from sleekxmpp.xmlstream import ElementBase -class Data(ElementBase): +class HTTPData(ElementBase): """ The data element. """ name = 'data' namespace = 'urn:xmpp:http' interfaces = set(['data']) - plugin_attrib = 'data' + plugin_attrib = 'http-data' is_extension = True def get_data(self, encoding='text'): |