Author: asterix Date: 2007-02-20 08:08:36 +0100 (Tue, 20 Feb 2007) New Revision: 7997
Modified: trunk/src/groupchat_control.py Log: [misc] Don't duplicate status message when someone is kicked
Modified: trunk/src/groupchat_control.py =================================================================== --- trunk/src/groupchat_control.py 2007-02-19 18:19:22 UTC (rev 7996) +++ trunk/src/groupchat_control.py 2007-02-20 07:08:36 UTC (rev 7997) @@ -940,7 +940,8 @@ # 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