check that contacts are not in "not in roster" group when we receive a RIE stanza. Fixes #7289
This commit is contained in:
parent
04e1d02707
commit
96818f60b3
|
@ -3452,7 +3452,7 @@ class RosterItemExchangeWindow:
|
||||||
is_in_roster = True
|
is_in_roster = True
|
||||||
contact = gajim.contacts.get_contact_with_highest_priority(
|
contact = gajim.contacts.get_contact_with_highest_priority(
|
||||||
self.account, jid)
|
self.account, jid)
|
||||||
if not contact:
|
if not contact or _('Not in Roster') in contact.groups:
|
||||||
is_in_roster = False
|
is_in_roster = False
|
||||||
name = self.exchange_list[jid][0]
|
name = self.exchange_list[jid][0]
|
||||||
num_list = len(self.exchange_list[jid][1])
|
num_list = len(self.exchange_list[jid][1])
|
||||||
|
|
Loading…
Reference in New Issue