use the theme color

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-12-31 11:31:09 +00:00
parent b815cbf055
commit c3597c4257

View file

@ -490,7 +490,7 @@ class Core(object):
if not conversation:
# We create the conversation with the bare Jid if nothing was found
conversation = self.open_conversation_window(jid.bare, False)
conversation.get_room().add_message(body, None, jid.full, False, 5)
conversation.get_room().add_message(body, None, jid.full, False, theme.COLOR_REMOTE_USER)
if self.current_tab() is not conversation:
conversation.set_color_state(theme.COLOR_TAB_PRIVATE)
self.refresh_window()