Commit 21c9deb2 authored by Dan Pascu's avatar Dan Pascu

Removed no longer necessary code

parent c5db2431
...@@ -2054,10 +2054,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -2054,10 +2054,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
message = notification.data.message message = notification.data.message
if message.content.startswith('?OTRv2?'):
# TODO: add support for OTR -Saul
return
if message.content_type.startswith('image/'): if message.content_type.startswith('image/'):
content = u'''<img src="data:{};base64,{}" class="scaled-to-fit" />'''.format(message.content_type, message.content.encode('base64').rstrip()) content = u'''<img src="data:{};base64,{}" class="scaled-to-fit" />'''.format(message.content_type, message.content.encode('base64').rstrip())
elif message.content_type.startswith('text/'): elif message.content_type.startswith('text/'):
......
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