mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-14 08:45:29 -04:00
Finish redaction algorithm.
This commit is contained in:
parent
07286a73b1
commit
1c06806f90
5 changed files with 33 additions and 25 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue