summaryrefslogtreecommitdiff
path: root/src/multiuserchat.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/multiuserchat.py')
-rw-r--r--src/multiuserchat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multiuserchat.py b/src/multiuserchat.py
index 273a8dea..d3eb70ca 100644
--- a/src/multiuserchat.py
+++ b/src/multiuserchat.py
@@ -73,7 +73,7 @@ def join_groupchat(xmpp, jid, nick, passwd='', maxhistory=None, status=None, sho
passelement = ET.Element('password')
passelement.text = passwd
x.append(passelement)
- history = ET.Element('history')
+ history = ET.Element('{http://jabber.org/protocol/muc}history')
history.attrib['seconds'] = str(seconds)
x.append(history)
stanza.append(x)