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

print error in chat window even if print_status_in_chat is False. See #1802

parent 87eae99e
No related branches found
No related tags found
No related merge requests found
......@@ -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],
......
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