diff options
author | mathieui <mathieui@mathieui.net> | 2013-07-29 19:31:33 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-07-29 19:31:33 +0200 |
commit | cbcac03510de5c316bc5e5c0136547911beeacd2 (patch) | |
tree | 4170bff96a168af26e668e0f5648781f6cd39e1b /src/multiuserchat.py | |
parent | d64a95bd3bc58f14e3a5684bd198dac7c0f4a7d6 (diff) | |
download | poezio-cbcac03510de5c316bc5e5c0136547911beeacd2.tar.gz poezio-cbcac03510de5c316bc5e5c0136547911beeacd2.tar.bz2 poezio-cbcac03510de5c316bc5e5c0136547911beeacd2.tar.xz poezio-cbcac03510de5c316bc5e5c0136547911beeacd2.zip |
Fix #2335 (crash on /cycle with room without userpart)
Diffstat (limited to 'src/multiuserchat.py')
-rw-r--r-- | src/multiuserchat.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/multiuserchat.py b/src/multiuserchat.py index 013fd2cb..d69daf42 100644 --- a/src/multiuserchat.py +++ b/src/multiuserchat.py @@ -66,8 +66,7 @@ def change_nick(core, jid, nick, status=None, show=None): def join_groupchat(core, jid, nick, passwd='', maxhistory=None, status=None, show=None, seconds=0): xmpp = core.xmpp - jid = safeJID(jid) - stanza = xmpp.makePresence(pto="%s/%s" % (jid, nick), pstatus=status, pshow=show) + stanza = xmpp.makePresence(pto='%s/%s' % (jid, nick), pstatus=status, pshow=show) x = ET.Element('{http://jabber.org/protocol/muc}x') if passwd: passelement = ET.Element('password') |