Author: asterix Date: 2007-01-29 19:29:51 +0100 (Mon, 29 Jan 2007) New Revision: 7915
Modified: trunk/src/chat_control.py Log: always use contact chatstate when none is given
Modified: trunk/src/chat_control.py =================================================================== --- trunk/src/chat_control.py 2007-01-29 12:48:39 UTC (rev 7914) +++ trunk/src/chat_control.py 2007-01-29 18:29:51 UTC (rev 7915) @@ -1306,6 +1306,8 @@ # 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,