summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0065/stanza.py
diff options
context:
space:
mode:
authorSandro Munda <sandro.munda@guardis.com>2012-06-07 19:14:37 +0200
committerSandro Munda <sandro.munda@guardis.com>2012-06-07 19:14:37 +0200
commit289b0523387e3c6dc7bde1161736aa791d6bcc99 (patch)
tree4c4ea4f1d0a4d1f0d638981b115dea186edac69d /sleekxmpp/plugins/xep_0065/stanza.py
parent26147f5ae0f2cf2e59c25ce90ff71653125e6b69 (diff)
downloadslixmpp-289b0523387e3c6dc7bde1161736aa791d6bcc99.tar.gz
slixmpp-289b0523387e3c6dc7bde1161736aa791d6bcc99.tar.bz2
slixmpp-289b0523387e3c6dc7bde1161736aa791d6bcc99.tar.xz
slixmpp-289b0523387e3c6dc7bde1161736aa791d6bcc99.zip
Renamed Query to Socks5 in the xep_0065.
Renamed the 'q' plugin_attrib of the Socks5 stanza to 'socks'.
Diffstat (limited to 'sleekxmpp/plugins/xep_0065/stanza.py')
-rw-r--r--sleekxmpp/plugins/xep_0065/stanza.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/sleekxmpp/plugins/xep_0065/stanza.py b/sleekxmpp/plugins/xep_0065/stanza.py
index 0990a509..ae57aba8 100644
--- a/sleekxmpp/plugins/xep_0065/stanza.py
+++ b/sleekxmpp/plugins/xep_0065/stanza.py
@@ -26,16 +26,16 @@ class StreamHostUsed(ElementBase):
interfaces = set(('jid',))
-class Query(ElementBase):
+class Socks5(ElementBase):
""" The query xml element.
"""
namespace = namespace
name = 'query'
- plugin_attrib = 'q'
+ plugin_attrib = 'socks'
interfaces = set(('sid', 'activate'))
sub_interfaces = set(('activate',))
-register_stanza_plugin(Iq, Query)
-register_stanza_plugin(Query, StreamHost)
-register_stanza_plugin(Query, StreamHostUsed)
+register_stanza_plugin(Iq, Socks5)
+register_stanza_plugin(Socks5, StreamHost)
+register_stanza_plugin(Socks5, StreamHostUsed)