From 6ecdbb747031a3304a174a5559d2610c74243907 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 30 Mar 2006 18:52:59 +0000 Subject: [PATCH] when sub = 'to' and we remove contact (but allow other side to see our status) completely remove contact --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index da84a78c4..47e4be0d5 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1708,7 +1708,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid) for u in gajim.contacts.get_contact(account, contact.jid): self.remove_contact(u, account) gajim.contacts.remove_jid(account, u.jid) - if not remove_auth: + if not remove_auth and contact.sub == 'both': contact.name = '' contact.groups = [] contact.sub = 'from'