fix minimized groupchat disappearing in roster. Fixes #6826

This commit is contained in:
Yann Leboulanger 2011-05-04 19:50:05 +02:00
parent fd7cb33f87
commit 93e0b144c7
1 changed files with 7 additions and 6 deletions

View File

@ -2499,12 +2499,13 @@ class RosterWindow:
else:
return
contact = gajim.contacts.get_contact_with_highest_priority(account,
obj.room_jid)
if contact:
contact.show = obj.show
self.draw_contact(obj.room_jid, account)
self.draw_group(_('Groupchats'), account)
if obj.nick == gc_ctrl.nick:
contact = gajim.contacts.get_contact_with_highest_priority(account,
obj.room_jid)
if contact:
contact.show = obj.show
self.draw_contact(obj.room_jid, account)
self.draw_group(_('Groupchats'), account)
def _nec_roster_received(self, obj):
if obj.received_from_server: