summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-12-07 23:07:40 -0500
committerLance Stout <lancestout@gmail.com>2010-12-07 23:07:40 -0500
commitf474d378efdc754b57dedd60a9905ac5e75ee55d (patch)
treeeba26755fdc0fb55ceddb0bde01fd5c77795775d /sleekxmpp/xmlstream/xmlstream.py
parentdefc252c7dabb1d54fe20b3ac8661d0198ff40bd (diff)
downloadslixmpp-f474d378efdc754b57dedd60a9905ac5e75ee55d.tar.gz
slixmpp-f474d378efdc754b57dedd60a9905ac5e75ee55d.tar.bz2
slixmpp-f474d378efdc754b57dedd60a9905ac5e75ee55d.tar.xz
slixmpp-f474d378efdc754b57dedd60a9905ac5e75ee55d.zip
Add support for using xml:lang values.
Support is only for adding literal XML content to stanzas. Full support for things like multiple message bodies with different xml:lang values is still in the works.
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 9ae31a20..fc7aff34 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -192,7 +192,7 @@ class XMLStream(object):
self.send_queue = queue.Queue()
self.scheduler = Scheduler(self.event_queue, self.stop)
- self.namespace_map = {}
+ self.namespace_map = {StanzaBase.xml_ns: 'xml'}
self.__thread = {}
self.__root_stanza = []