From 40ff60ab241f0e3fade87a2e84ee6d6e971b8f1f Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 17 Jan 2013 18:17:07 +0100 Subject: Fix a (hidden) traceback Do not traceback when we receive a chatstate from someone not in our roster. --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3