check that contacts are not in "not in roster" group when we receive a RIE stanza. Fixes #7289

This commit is contained in:
Yann Leboulanger 2013-02-12 19:31:35 +01:00
parent 3a84a5de26
commit 6f2935ba4e
1 changed files with 1 additions and 1 deletions

View File

@ -3480,7 +3480,7 @@ class RosterItemExchangeWindow:
is_in_roster = True
contact = gajim.contacts.get_contact_with_highest_priority(
self.account, jid)
if not contact:
if not contact or _('Not in Roster') in contact.groups:
is_in_roster = False
name = self.exchange_list[jid][0]
num_list = len(self.exchange_list[jid][1])