[misc] Don't duplicate status message when someone is kicked

This commit is contained in:
Yann Leboulanger 2007-02-20 07:08:36 +00:00
parent aa44fc9eb3
commit 2fb7c9cf99
1 changed files with 2 additions and 1 deletions

View File

@ -940,7 +940,8 @@ class GroupchatControl(ChatControlBase):
# delete ressource
simple_jid = gajim.get_jid_without_resource(jid)
nick_jid += ' (%s)' % simple_jid
if show == 'offline' and print_status in ('all', 'in_and_out'):
if show == 'offline' and print_status in ('all', 'in_and_out') and \
statusCode != '307':
st = _('%s has left') % nick_jid
if reason:
st += ' [%s]' % reason