From c59f4f7d73062a06857867332287bb922621e43e Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Wed, 14 Oct 2009 08:40:28 +0200
Subject: [PATCH] show incoming and outgoing style in history window too. Fixes
 #5321

---
 src/history_window.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/history_window.py b/src/history_window.py
index f3bcfad087..2ad639fb75 100644
--- a/src/history_window.py
+++ b/src/history_window.py
@@ -409,6 +409,7 @@ class HistoryWindow:
 		constants.KIND_CHAT_MSG_RECV):
 			contact_name = self.completion_dict[self.jid][C_INFO_NAME]
 			tag_name = 'incoming'
+			tag_msg = 'incomingtxt'
 		elif kind in (constants.KIND_SINGLE_MSG_SENT,
 		constants.KIND_CHAT_MSG_SENT):
 			if self.account:
@@ -419,6 +420,7 @@ class HistoryWindow:
 				account = gajim.contacts.get_accounts()[0]
 				contact_name = gajim.nicks[account]
 			tag_name = 'outgoing'
+			tag_msg = 'outgoingtxt'
 		elif kind == constants.KIND_GCSTATUS:
 			# message here (if not None) is status message
 			if message:
-- 
GitLab