use helper function

This commit is contained in:
Yann Leboulanger 2006-09-25 06:59:01 +00:00
parent 8a12655ec7
commit be61788f24
1 changed files with 1 additions and 2 deletions

View File

@ -858,8 +858,7 @@ class GroupchatControl(ChatControlBase):
nick_jid = nick
if jid:
# delete ressource
jid_splitted = jid.split('/')
simple_jid = jid_splitted[0]
simple_jid = gajim.get_jid_without_resource(jid)
nick_jid += ' (%s)' % simple_jid
if show == 'offline' and print_status in ('all', 'in_and_out'):
st = _('%s has left') % nick_jid