From b971afec24e5886f87b445b405915ae915e86d21 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 29 Jan 2007 18:29:51 +0000 Subject: [PATCH] always use contact chatstate when none is given --- src/chat_control.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chat_control.py b/src/chat_control.py index 490f3f30c..ae7dcbf0c 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1306,6 +1306,8 @@ class ChatControl(ChatControlBase): # Draw tab label using chatstate theme = gajim.config.get('roster_theme') color = None + if not chatstate: + chatstate = self.contact.chatstate if chatstate is not None: if chatstate == 'composing': color = gajim.config.get_per('themes', theme,