This commit is contained in:
Yann Leboulanger 2006-01-02 06:46:27 +00:00
parent 92df303991
commit 412ba85154
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ class Systray:
contacts_menu = gtk.Menu()
item.set_submenu(contacts_menu)
for jid in gajim.contacts.get_jid_list(account):
contact = gajim.get_contact_with_highest_priority(account, jid)
contact = gajim.contacts.get_contact_with_highest_priority(account,
jid)
if group in contact.groups and contact.show != 'offline' and \
contact.show != 'error':
at_least_one = True