summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-01-17 18:17:07 +0100
committermathieui <mathieui@mathieui.net>2013-01-17 18:17:44 +0100
commit40ff60ab241f0e3fade87a2e84ee6d6e971b8f1f (patch)
treec1ebc05eb5db3e8d3d371ac8f58dd50e32273410 /src/tabs.py
parent65a0569300359345a549fb525568f3139126198a (diff)
downloadpoezio-40ff60ab241f0e3fade87a2e84ee6d6e971b8f1f.tar.gz
poezio-40ff60ab241f0e3fade87a2e84ee6d6e971b8f1f.tar.bz2
poezio-40ff60ab241f0e3fade87a2e84ee6d6e971b8f1f.tar.xz
poezio-40ff60ab241f0e3fade87a2e84ee6d6e971b8f1f.zip
Fix a (hidden) traceback
Do not traceback when we receive a chatstate from someone not in our roster.
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 3df3b618..ce58f8fd 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -3082,7 +3082,7 @@ class ConversationTab(ChatTab):
self.input.refresh()
def refresh_info_header(self):
- self.info_header.refresh(self.get_name(), roster[self.get_name()] or safeJID(self.get_name()).user,
+ self.info_header.refresh(self.get_name(), roster[self.get_name()],
self.text_win, self.chatstate, ConversationTab.additional_informations)
self.input.refresh()