strip spaces arround server and room name in join groupchat dialog. Fixes #7081
This commit is contained in:
parent
34c95bbb9b
commit
ba61066c2f
|
@ -2465,8 +2465,9 @@ class JoinGroupchatWindow:
|
|||
'groupchat.'))
|
||||
return
|
||||
nickname = self._nickname_entry.get_text().decode('utf-8')
|
||||
server = self.server_comboboxentry.child.get_text().decode('utf-8')
|
||||
room = self._room_jid_entry.get_text().decode('utf-8')
|
||||
server = self.server_comboboxentry.child.get_text().decode('utf-8').\
|
||||
strip()
|
||||
room = self._room_jid_entry.get_text().decode('utf-8').strip()
|
||||
room_jid = room + '@' + server
|
||||
password = self._password_entry.get_text().decode('utf-8')
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue