Fix joining rooms with upper cases

Fixes #9198
This commit is contained in:
Philipp Hörist 2018-06-23 22:33:03 +02:00
parent 9b07cf8d41
commit a30a61e5ff
1 changed files with 2 additions and 0 deletions

View File

@ -2460,6 +2460,8 @@ class JoinGroupchatWindow(Gtk.ApplicationWindow):
return
self.room_jid = '%s@%s' % (room, server)
self.room_jid = self.room_jid.lower()
if app.in_groupchat(account, self.room_jid):
# If we already in the groupchat, join_gc_room will bring
# it to front