print error in chat window even if print_status_in_chat is False. See #1802
This commit is contained in:
parent
87eae99e1a
commit
87bb1c5551
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue