Used the namespace in all stanzas
This commit is contained in:
parent
a14979375b
commit
69cffce7dc
1 changed files with 2 additions and 2 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue