Commit fd384e51 authored by Tijmen de Mes's avatar Tijmen de Mes

Add encryption icon for OTR on history messages

parent cb193237
...@@ -2619,6 +2619,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -2619,6 +2619,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self.pending_displayed_notifications.setdefault(blink_session, []).append((message.message_id, message.timestamp, account)) self.pending_displayed_notifications.setdefault(blink_session, []).append((message.message_id, message.timestamp, account))
if 'OpenPGP' in message.encryption_type: if 'OpenPGP' in message.encryption_type:
session.chat_widget.update_message_encryption(message.message_id, True) session.chat_widget.update_message_encryption(message.message_id, True)
elif 'OTR' in message.encryption_type:
session.chat_widget.update_message_encryption(message.message_id, True)
session.chat_widget.history_loaded = True session.chat_widget.history_loaded = True
while len(self.render_after_load) > 0: while len(self.render_after_load) > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment