Fix typo
This commit is contained in:
parent
c82e7951a9
commit
20cec0037f
|
@ -3346,8 +3346,8 @@ class ManageBookmarksWindow:
|
||||||
if '@' in room:
|
if '@' in room:
|
||||||
dialogs.ErrorDialog(_('Invalid server'), _('Character not allowed'))
|
dialogs.ErrorDialog(_('Invalid server'), _('Character not allowed'))
|
||||||
widget.set_text(room.replace('@', ''))
|
widget.set_text(room.replace('@', ''))
|
||||||
room_jid = self.room_entry.get_text().decode('utf-8').strip() + '@' + \
|
room_jid = room.strip() + '@' + \
|
||||||
room.strip()
|
self.server_entry.get_text().decode('utf-8').strip()
|
||||||
try:
|
try:
|
||||||
room_jid = helpers.parse_resource(room_jid)
|
room_jid = helpers.parse_resource(room_jid)
|
||||||
except helpers.InvalidFormat, e:
|
except helpers.InvalidFormat, e:
|
||||||
|
|
Loading…
Reference in New Issue