show incoming and outgoing style in history window too. Fixes #5321

This commit is contained in:
Yann Leboulanger 2009-10-14 08:40:28 +02:00
parent bf298d4568
commit c59f4f7d73
1 changed files with 2 additions and 0 deletions

View File

@ -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: