From 87bb1c5551d56b196dfcc753c9d7e087c6fb1d9f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 10 Apr 2006 13:23:56 +0000 Subject: [PATCH] print error in chat window even if print_status_in_chat is False. See #1802 --- src/chat_control.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index f6768408a..b4aaa3a7d 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1016,6 +1016,9 @@ class ChatControl(ChatControlBase): if frm == 'status': kind = 'status' name = '' + elif frm == 'info': + kind = 'info' + name = '' else: ec = gajim.encrypted_chats[self.account] if encrypted and jid not in ec: @@ -1408,7 +1411,7 @@ class ChatControl(ChatControlBase): data = event[1] kind = data[2] if kind == 'error': - kind = 'status' + kind = 'info' else: kind = 'print_queue' self.print_conversation(data[0], kind, tim = data[3],