From 8f50d04ea8167bfdd0d868219311b0b4f556670c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 31 Jan 2007 19:45:13 +0000 Subject: [PATCH] we can now remove a contact from not in roster group which has unread events. there are just removed. fixes #2888 --- src/roster_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index a36021b23..35c3ef606 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2672,6 +2672,8 @@ class RosterWindow: gajim.contacts.add_contact(account, contact) self.add_contact_to_roster(contact.jid, account) else: + if _('Not in Roster') in contact.groups: + gajim.events.remove_events(account, contact.jid) self.readd_if_needed(contact, account) if len(list_) == 1: contact = list_[0][0]