summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0332/stanza/data.py
diff options
context:
space:
mode:
authorSangeeth Saravanaraj <sangeeth@riptideio.com>2015-04-29 14:44:25 +0530
committerSangeeth Saravanaraj <sangeeth@riptideio.com>2015-04-29 14:44:25 +0530
commit61a7cecb319c5628973906250ed973f21883cfd4 (patch)
treefd2ffea9cbe160dd92fad74a1ce577a22ab2be4b /sleekxmpp/plugins/xep_0332/stanza/data.py
parent80b60fc0483b21c8d5829b61cabbf9b46aa2c2fb (diff)
downloadslixmpp-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.py4
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'):