summary refs log tree commit diff
path: root/synapse/api/events/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 10:21:32 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 10:21:32 +0000
commit1c06806f90a6368cdc3b9fa3b9053021b7c40e94 (patch)
treef9ed0b424cc37a7ea4e993ff774308c4e371549b /synapse/api/events/__init__.py
parentUse current state to get room hosts, rather than querying the database (diff)
downloadsynapse-1c06806f90a6368cdc3b9fa3b9053021b7c40e94.tar.xz
Finish redaction algorithm.
Diffstat (limited to 'synapse/api/events/__init__.py')
-rw-r--r--synapse/api/events/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/events/__init__.py b/synapse/api/events/__init__.py
index 8d65c29ac1..f1e53f23ab 100644
--- a/synapse/api/events/__init__.py
+++ b/synapse/api/events/__init__.py
@@ -86,8 +86,8 @@ class SynapseEvent(JsonEncodedObject):
 
     def __init__(self, raises=True, **kwargs):
         super(SynapseEvent, self).__init__(**kwargs)
-        if "content" in kwargs:
-            self.check_json(self.content, raises=raises)
+        # if "content" in kwargs:
+        #     self.check_json(self.content, raises=raises)
 
     def get_content_template(self):
         """ Retrieve the JSON template for this event as a dict.