Used the namespace in all stanzas
This commit is contained in:
parent
a14979375b
commit
69cffce7dc
@ -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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user