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