summaryrefslogtreecommitdiff
path: root/src/multiuserchat.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-10-05 21:44:33 +0200
committermathieui <mathieui@mathieui.net>2015-10-05 21:44:33 +0200
commit11d41625e2eaa70905a2398496fb02d886961d4b (patch)
tree5cc340530913e3750b2f8deffa7b718847c0b007 /src/multiuserchat.py
parent62491a4caad2565ab81b62eedf053569976cbfe1 (diff)
downloadpoezio-11d41625e2eaa70905a2398496fb02d886961d4b.tar.gz
poezio-11d41625e2eaa70905a2398496fb02d886961d4b.tar.bz2
poezio-11d41625e2eaa70905a2398496fb02d886961d4b.tar.xz
poezio-11d41625e2eaa70905a2398496fb02d886961d4b.zip
Get rid of the muc_history_length option
It hasn’t worked for more than two years and no one complained. Furthermore, poezio tries to be smart and request messages based on previous activity, and not raw numbers.
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 80e2c706..b7b12305 100644
--- a/src/multiuserchat.py
+++ b/src/multiuserchat.py
@@ -94,7 +94,7 @@ def change_nick(core, jid, nick, status=None, show=None):
core.events.trigger('changing_nick', presence)
presence.send()
-def join_groupchat(core, jid, nick, passwd='', maxhistory=None, status=None, show=None, seconds=None):
+def join_groupchat(core, jid, nick, passwd='', status=None, show=None, seconds=None):
xmpp = core.xmpp
stanza = xmpp.make_presence(pto='%s/%s' % (jid, nick), pstatus=status, pshow=show)
x = ET.Element('{http://jabber.org/protocol/muc}x')