summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-11 22:45:44 +0100
committermathieui <mathieui@mathieui.net>2011-11-11 22:45:44 +0100
commit101b20724f897824e047b32dcd01bf365d4aa9ba (patch)
tree09a6bfb785189cd82af8e451abff8bf2df768bd3 /src
parentcb8c04fd2add8606aace28bba5775cc13cd659b6 (diff)
downloadpoezio-101b20724f897824e047b32dcd01bf365d4aa9ba.tar.gz
poezio-101b20724f897824e047b32dcd01bf365d4aa9ba.tar.bz2
poezio-101b20724f897824e047b32dcd01bf365d4aa9ba.tar.xz
poezio-101b20724f897824e047b32dcd01bf365d4aa9ba.zip
Fix a refresh issue in the ConversationTab on status change
Diffstat (limited to 'src')
-rw-r--r--src/core.py4
1 files changed, 4 insertions, 0 deletions
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):
"""