Fix #4069.
This commit is contained in:
parent
5441c32e0e
commit
6bfdebf347
|
@ -1348,6 +1348,7 @@ class ChatControl(ChatControlBase):
|
||||||
def update_ui(self):
|
def update_ui(self):
|
||||||
# The name banner is drawn here
|
# The name banner is drawn here
|
||||||
ChatControlBase.update_ui(self)
|
ChatControlBase.update_ui(self)
|
||||||
|
self.update_toolbar()
|
||||||
|
|
||||||
def _update_banner_state_image(self):
|
def _update_banner_state_image(self):
|
||||||
contact = gajim.contacts.get_contact_with_highest_priority(self.account,
|
contact = gajim.contacts.get_contact_with_highest_priority(self.account,
|
||||||
|
|
|
@ -1790,9 +1790,11 @@ class Interface:
|
||||||
'%s\nIt may have been tampered with.') % (jid)
|
'%s\nIt may have been tampered with.') % (jid)
|
||||||
|
|
||||||
if session.control:
|
if session.control:
|
||||||
session.control.print_conversation_line(details, 'status', '', tim)
|
session.control.print_conversation_line(details,
|
||||||
|
'status', '', tim)
|
||||||
else:
|
else:
|
||||||
dialogs.WarningDialog(_('Unable to decrypt message'), details)
|
dialogs.WarningDialog(_('Unable to decrypt message'),
|
||||||
|
details)
|
||||||
|
|
||||||
# terminate the session
|
# terminate the session
|
||||||
session.terminate_e2e()
|
session.terminate_e2e()
|
||||||
|
|
Loading…
Reference in New Issue