Correctly remove Observer and NotInRoster contact in one special case. Does not affect pending bug. See #4524.
This commit is contained in:
parent
e0a365a234
commit
afd8e1819d
|
@ -976,7 +976,7 @@ class Interface:
|
||||||
c = gajim.contacts.get_first_contact_from_jid(account, jid)
|
c = gajim.contacts.get_first_contact_from_jid(account, jid)
|
||||||
c.resource = array[1]
|
c.resource = array[1]
|
||||||
self.roster.remove_contact_from_groups(c.jid, account,
|
self.roster.remove_contact_from_groups(c.jid, account,
|
||||||
[('Not in Roster'),])
|
[_('Not in Roster'), _('Observers')], update=False)
|
||||||
else:
|
else:
|
||||||
keyID = ''
|
keyID = ''
|
||||||
attached_keys = gajim.config.get_per('accounts', account,
|
attached_keys = gajim.config.get_per('accounts', account,
|
||||||
|
|
Loading…
Reference in New Issue