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

Removed not needed decryption

parent da232c8a
...@@ -2395,9 +2395,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -2395,9 +2395,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
content = HtmlProcessor.autolink(content) content = HtmlProcessor.autolink(content)
encrypted = True encrypted = True
self.pending_decryption.append((message)) self.pending_decryption.append((message))
stream = blink_session.fake_streams.get('messages')
if stream and stream.can_decrypt:
stream.decrypt(message)
else: else:
content = message.content content = message.content
content = HtmlProcessor.autolink(content if message.content_type == 'text/html' else QTextDocument(content).toHtml()) content = HtmlProcessor.autolink(content if message.content_type == 'text/html' else QTextDocument(content).toHtml())
......
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