diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2011-05-04 21:50:05 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2011-05-04 21:50:05 +0400 |
commit | 93e0b144c75deb224dc35a8c02c4568b9c12cb09 (patch) | |
tree | eef737686d899e207957b5f1c6a99ff68d53908b | |
parent | fd7cb33f879bf3443236d9ef3ae8a68660d673cf (diff) |
fix minimized groupchat disappearing in roster. Fixes #6826
-rw-r--r-- | src/roster_window.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/roster_window.py b/src/roster_window.py index 32cca46c9..7945bd622 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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: |