Used the namespace in all stanzas

This commit is contained in:
Sandro Munda 2012-06-04 07:57:14 +02:00
parent a14979375b
commit 69cffce7dc

View File

@ -18,7 +18,7 @@ class StreamHostUsed(ElementBase):
""" The streamhost-used xml element. """ The streamhost-used xml element.
""" """
namespace = 'http://jabber.org/protocol/bytestreams' namespace = namespace
name = 'streamhost-used' name = 'streamhost-used'
plugin_attrib = 'streamhost-used' plugin_attrib = 'streamhost-used'
interfaces = set(('jid',)) interfaces = set(('jid',))
@ -28,7 +28,7 @@ class Query(ElementBase):
""" The query xml element. """ The query xml element.
""" """
namespace = 'http://jabber.org/protocol/bytestreams' namespace = namespace
name = 'query' name = 'query'
plugin_attrib = 'q' plugin_attrib = 'q'
interfaces = set(('sid', 'activate')) interfaces = set(('sid', 'activate'))