summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0045.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2010-10-17 06:26:39 +0800
committerLance Stout <lancestout@gmail.com>2010-10-17 09:01:53 +0800
commit3625573c7d071db17beeeb84631fa082bdaf808a (patch)
tree24812a2cf92cbad3afbc7db4bdf89f0ed76d6962 /sleekxmpp/plugins/xep_0045.py
parentd9e7f555e6e313b590ea3c35577c5dbbbb5b5a59 (diff)
downloadslixmpp-3625573c7d071db17beeeb84631fa082bdaf808a.tar.gz
slixmpp-3625573c7d071db17beeeb84631fa082bdaf808a.tar.bz2
slixmpp-3625573c7d071db17beeeb84631fa082bdaf808a.tar.xz
slixmpp-3625573c7d071db17beeeb84631fa082bdaf808a.zip
Default history is 0
Diffstat (limited to 'sleekxmpp/plugins/xep_0045.py')
-rw-r--r--sleekxmpp/plugins/xep_0045.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py
index 7c06ca8b..bf472a46 100644
--- a/sleekxmpp/plugins/xep_0045.py
+++ b/sleekxmpp/plugins/xep_0045.py
@@ -195,7 +195,7 @@ class xep_0045(base.base_plugin):
return False
return True
- def joinMUC(self, room, nick, maxhistory=None, password='', wait=False, pstatus=None, pshow=None):
+ def joinMUC(self, room, nick, maxhistory="0", password='', wait=False, pstatus=None, pshow=None):
""" Join the specified room, requesting 'maxhistory' lines of history.
"""
stanza = self.xmpp.makePresence(pto="%s/%s" % (room, nick), pstatus=pstatus, pshow=pshow)