This commit is contained in:
Denis Fomin 2010-12-09 17:16:36 +03:00
parent c82e7951a9
commit 20cec0037f
1 changed files with 2 additions and 2 deletions

View File

@ -3346,8 +3346,8 @@ class ManageBookmarksWindow:
if '@' in room:
dialogs.ErrorDialog(_('Invalid server'), _('Character not allowed'))
widget.set_text(room.replace('@', ''))
room_jid = self.room_entry.get_text().decode('utf-8').strip() + '@' + \
room.strip()
room_jid = room.strip() + '@' + \
self.server_entry.get_text().decode('utf-8').strip()
try:
room_jid = helpers.parse_resource(room_jid)
except helpers.InvalidFormat, e: