Do not show [u'bad_jid'] but bad_jid
This commit is contained in:
parent
2315eb8907
commit
47536d3158
1 changed files with 2 additions and 2 deletions
|
@ -1076,7 +1076,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
room_jid, nick = room_jid.split('/', 1)
|
room_jid, nick = room_jid.split('/', 1)
|
||||||
else:
|
else:
|
||||||
nick = ''
|
nick = ''
|
||||||
#join_gc window is needed in order to provide for password entry.
|
# join_gc window is needed in order to provide for password entry.
|
||||||
if gajim.interface.instances[self.account].has_key('join_gc'):
|
if gajim.interface.instances[self.account].has_key('join_gc'):
|
||||||
gajim.interface.instances[self.account]['join_gc'].\
|
gajim.interface.instances[self.account]['join_gc'].\
|
||||||
window.present()
|
window.present()
|
||||||
|
@ -1090,7 +1090,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
self.clear(self.msg_textview)
|
self.clear(self.msg_textview)
|
||||||
else:
|
else:
|
||||||
#%s is something the user wrote but it is not a jid so we inform
|
#%s is something the user wrote but it is not a jid so we inform
|
||||||
s = _('%s does not appear to be a valid JID') % message_array
|
s = _('%s does not appear to be a valid JID') % message_array[0]
|
||||||
self.print_conversation(s, 'info')
|
self.print_conversation(s, 'info')
|
||||||
else:
|
else:
|
||||||
self.get_command_help(command)
|
self.get_command_help(command)
|
||||||
|
|
Loading…
Add table
Reference in a new issue