Temporarily turn off 'redacted_because' and 'prev_content' keys

This commit is contained in:
Erik Johnston 2015-01-06 11:26:58 +00:00
parent f4ea78e9e2
commit 3e26720e05
1 changed files with 2 additions and 0 deletions

View File

@ -499,6 +499,8 @@ class SQLBaseStore(object):
ev = FrozenEvent(d, internal_metadata_dict=internal_metadata) ev = FrozenEvent(d, internal_metadata_dict=internal_metadata)
return ev
if check_redacted and redacted: if check_redacted and redacted:
ev = prune_event(ev) ev = prune_event(ev)