[misc] Don't duplicate status message when someone is kicked
This commit is contained in:
parent
aa44fc9eb3
commit
2fb7c9cf99
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue