summaryrefslogtreecommitdiff
path: root/src/multiuserchat.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/multiuserchat.py')
-rw-r--r--src/multiuserchat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multiuserchat.py b/src/multiuserchat.py
index c9fdc5b9..5800e7f9 100644
--- a/src/multiuserchat.py
+++ b/src/multiuserchat.py
@@ -74,11 +74,11 @@ def change_nick(xmpp, jid, nick):
xmpp.makePresence(pto='%s/%s' % (jid, nick),
pfrom=xmpp.boundjid.bare).send()
-def join_groupchat(xmpp, jid, nick, password=''):
+def join_groupchat(xmpp, jid, nick, passwd=''):
"""
Join the groupchat
"""
- xmpp.plugin['xep_0045'].joinMUC(jid, nick, password)
+ xmpp.plugin['xep_0045'].joinMUC(jid, nick, maxhistory=None, password=passwd)
def leave_groupchat(xmpp, jid, own_nick, msg):
"""