Commit 5ad07383 authored by Tijmen de Mes's avatar Tijmen de Mes

Skip OTR messages from server history

parent 5cbc764b
......@@ -721,6 +721,9 @@ class MessageManager(object, metaclass=Singleton):
if message['contact'] is None:
continue
if message['content'].startswith("?OTR:") or message['content'].startswith('?OTR:v3'):
continue
from blink.contacts import URIUtils
contact, contact_uri = URIUtils.find_contact(message['contact'])
......
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