summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0332/stanza/data.py
diff options
context:
space:
mode:
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'):