when sub = 'to' and we remove contact (but allow other side to see our status) completely remove contact
This commit is contained in:
parent
b7e4465ed5
commit
6ecdbb7470
|
@ -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):
|
for u in gajim.contacts.get_contact(account, contact.jid):
|
||||||
self.remove_contact(u, account)
|
self.remove_contact(u, account)
|
||||||
gajim.contacts.remove_jid(account, u.jid)
|
gajim.contacts.remove_jid(account, u.jid)
|
||||||
if not remove_auth:
|
if not remove_auth and contact.sub == 'both':
|
||||||
contact.name = ''
|
contact.name = ''
|
||||||
contact.groups = []
|
contact.groups = []
|
||||||
contact.sub = 'from'
|
contact.sub = 'from'
|
||||||
|
|
Loading…
Reference in New Issue