summaryrefslogtreecommitdiff
path: root/src/multiuserchat.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-11-17 19:17:02 +0100
committermathieui <mathieui@mathieui.net>2012-11-17 19:17:02 +0100
commitac806cbb4149cd3684b9b297667876a5dd84dc52 (patch)
tree530983e222bff6fb1354798d539e118cc2466352 /src/multiuserchat.py
parent6781f67e80aa5ec86c84b49ef4526dcef9feceda (diff)
downloadpoezio-ac806cbb4149cd3684b9b297667876a5dd84dc52.tar.gz
poezio-ac806cbb4149cd3684b9b297667876a5dd84dc52.tar.bz2
poezio-ac806cbb4149cd3684b9b297667876a5dd84dc52.tar.xz
poezio-ac806cbb4149cd3684b9b297667876a5dd84dc52.zip
Fix the history numbers when re-joining a room
the <history/> element had a xmlns="" instead of the proper namespace.
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)