Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2011-05-04 21:50:05 +0400
committerYann Leboulanger <asterix@lagaule.org>2011-05-04 21:50:05 +0400
commit93e0b144c75deb224dc35a8c02c4568b9c12cb09 (patch)
treeeef737686d899e207957b5f1c6a99ff68d53908b
parentfd7cb33f879bf3443236d9ef3ae8a68660d673cf (diff)
fix minimized groupchat disappearing in roster. Fixes #6826
-rw-r--r--src/roster_window.py13
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: