From ac806cbb4149cd3684b9b297667876a5dd84dc52 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 17 Nov 2012 19:17:02 +0100 Subject: Fix the history numbers when re-joining a room the element had a xmlns="" instead of the proper namespace. --- src/multiuserchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/multiuserchat.py') 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) -- cgit v1.2.3