we can now remove a contact from not in roster group which has unread events. there are just removed. fixes #2888
This commit is contained in:
parent
b45b27697a
commit
8f50d04ea8
|
@ -2672,6 +2672,8 @@ class RosterWindow:
|
||||||
gajim.contacts.add_contact(account, contact)
|
gajim.contacts.add_contact(account, contact)
|
||||||
self.add_contact_to_roster(contact.jid, account)
|
self.add_contact_to_roster(contact.jid, account)
|
||||||
else:
|
else:
|
||||||
|
if _('Not in Roster') in contact.groups:
|
||||||
|
gajim.events.remove_events(account, contact.jid)
|
||||||
self.readd_if_needed(contact, account)
|
self.readd_if_needed(contact, account)
|
||||||
if len(list_) == 1:
|
if len(list_) == 1:
|
||||||
contact = list_[0][0]
|
contact = list_[0][0]
|
||||||
|
|
Loading…
Reference in New Issue