summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-17 15:54:11 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-17 15:54:11 +0100
commit1fe6160cfc5ee86bd6582195a7f7b49a81170eaa (patch)
tree3339ef1104808c775ce502f9c27bc32e56da9ce4
parent61548724447eccedc43b100657db8c7dcf97f9f7 (diff)
downloadpoezio-1fe6160cfc5ee86bd6582195a7f7b49a81170eaa.tar.gz
poezio-1fe6160cfc5ee86bd6582195a7f7b49a81170eaa.tar.bz2
poezio-1fe6160cfc5ee86bd6582195a7f7b49a81170eaa.tar.xz
poezio-1fe6160cfc5ee86bd6582195a7f7b49a81170eaa.zip
/join @server.tld now works. fixed #2038
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 36be6124..20b41d00 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1122,6 +1122,8 @@ class Core(object):
if r and r.joined: # if we are already in the room
self.focus_tab_named(r.name)
return
+ if room.startswith('@'):
+ room = room[1:]
room = room.lower()
if r and not r.joined:
muc.join_groupchat(self.xmpp, room, nick, password, histo_length)