changeset b6f58ce8415c in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=b6f58ce8415c
description: check that contacts are not in "not in roster" group when we 
receive a RIE stanza. Fixes #7289

diffstat:

 src/dialogs.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5e9edfd00451 -r b6f58ce8415c src/dialogs.py
--- a/src/dialogs.py    Thu Jan 24 21:23:57 2013 +0100
+++ b/src/dialogs.py    Tue Feb 12 19:31:35 2013 +0100
@@ -3480,7 +3480,7 @@
                 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])
_______________________________________________
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to