From 47536d31589390243e5f314ce59108ab585c1d38 Mon Sep 17 00:00:00 2001
From: Jean-Marie Traissard <jim@lapin.org>
Date: Sun, 8 Oct 2006 20:44:05 +0000
Subject: [PATCH] Do not show [u'bad_jid'] but bad_jid

---
 src/groupchat_control.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 91e60c92cd..18e029a10c 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -1076,7 +1076,7 @@ class GroupchatControl(ChatControlBase):
 						room_jid, nick = room_jid.split('/', 1)
 					else:
 						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'):
 						gajim.interface.instances[self.account]['join_gc'].\
 							window.present()
@@ -1090,7 +1090,7 @@ class GroupchatControl(ChatControlBase):
 					self.clear(self.msg_textview)
 				else:
 					#%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')
 			else:
 				self.get_command_help(command)
-- 
GitLab