Renamed Query to Socks5 in the xep_0065.

Renamed the 'q' plugin_attrib of the Socks5 stanza to 'socks'.
This commit is contained in:
Sandro Munda
2012-06-07 19:14:37 +02:00
parent 26147f5ae0
commit 289b052338
2 changed files with 24 additions and 24 deletions
+5 -5
View File
@@ -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)