Skip to content
Snippets Groups Projects
Commit b971afec authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

always use contact chatstate when none is given

parent dd9949fb
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment