summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorSandro Munda <sandro.munda@guardis.com>2012-06-04 07:57:14 +0200
committerSandro Munda <sandro.munda@guardis.com>2012-06-07 18:38:56 +0200
commit69cffce7dcaea56fa35f9c39299e98eb5576f20d (patch)
treec2406669c7b45ea3c272c8c6def671c550e4cbdc /sleekxmpp/plugins
parenta14979375b164aa44071dae30521ec15363f3b7a (diff)
downloadslixmpp-69cffce7dcaea56fa35f9c39299e98eb5576f20d.tar.gz
slixmpp-69cffce7dcaea56fa35f9c39299e98eb5576f20d.tar.bz2
slixmpp-69cffce7dcaea56fa35f9c39299e98eb5576f20d.tar.xz
slixmpp-69cffce7dcaea56fa35f9c39299e98eb5576f20d.zip
Used the namespace in all stanzas
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0065/stanza.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0065/stanza.py b/sleekxmpp/plugins/xep_0065/stanza.py
index 4d33be98..ef70a368 100644
--- a/sleekxmpp/plugins/xep_0065/stanza.py
+++ b/sleekxmpp/plugins/xep_0065/stanza.py
@@ -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'))