summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-02-08 09:09:07 -0800
committerLance Stout <lancestout@gmail.com>2013-02-08 09:09:07 -0800
commit75a792eb6f8df68d47db8014852425d9ee36d6a9 (patch)
tree13a3a92b78385cf451c5016c03ed16b484c489b2 /sleekxmpp/plugins
parent23f112602c35440ca7a43cfd1efb0d3e15220a02 (diff)
downloadslixmpp-75a792eb6f8df68d47db8014852425d9ee36d6a9.tar.gz
slixmpp-75a792eb6f8df68d47db8014852425d9ee36d6a9.tar.bz2
slixmpp-75a792eb6f8df68d47db8014852425d9ee36d6a9.tar.xz
slixmpp-75a792eb6f8df68d47db8014852425d9ee36d6a9.zip
Fix HTML-IM lang support.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0071/stanza.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0071/stanza.py b/sleekxmpp/plugins/xep_0071/stanza.py
index a5cedda3..ce91c552 100644
--- a/sleekxmpp/plugins/xep_0071/stanza.py
+++ b/sleekxmpp/plugins/xep_0071/stanza.py
@@ -70,7 +70,7 @@ class XHTML_IM(ElementBase):
return ''.join(result)
return ''
- def del_body(self, lang):
+ def del_body(self, lang=None):
if lang is None:
lang = self.get_lang()
bodies = self.xml.findall('{%s}body' % XHTML_NS)