Commit 6f2935ba authored by Yann Leboulanger's avatar Yann Leboulanger

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

parent 3a84a5de
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment