From 101b20724f897824e047b32dcd01bf365d4aa9ba Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 11 Nov 2011 22:45:44 +0100 Subject: [PATCH] Fix a refresh issue in the ConversationTab on status change --- src/core.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core.py b/src/core.py index 04f89172..5f173d63 100644 --- a/src/core.py +++ b/src/core.py @@ -664,8 +664,12 @@ class Core(object): resource.presence = status resource.priority = priority resource.status = status_message + tab = self.get_tab_of_conversation_with_jid(jid, create=False) if isinstance(self.current_tab(), tabs.RosterInfoTab): self.refresh_window() + elif self.current_tab() == tab: + tab.refresh() + self.doupdate() def on_roster_update(self, iq): """