/join @server.tld now works. fixed #2038

This commit is contained in:
Florent Le Coz 2011-01-17 15:54:11 +01:00
parent 6154872444
commit 1fe6160cfc

View file

@ -1122,6 +1122,8 @@ class Core(object):
if r and r.joined: # if we are already in the room if r and r.joined: # if we are already in the room
self.focus_tab_named(r.name) self.focus_tab_named(r.name)
return return
if room.startswith('@'):
room = room[1:]
room = room.lower() room = room.lower()
if r and not r.joined: if r and not r.joined:
muc.join_groupchat(self.xmpp, room, nick, password, histo_length) muc.join_groupchat(self.xmpp, room, nick, password, histo_length)