summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-01 11:05:48 +0100
committerErik Johnston <erik@matrix.org>2019-10-01 11:05:48 +0100
commita27fb7d5cac3cacc55a1c778f02d074d4115eea6 (patch)
treee90f9881142fb2d5f7358dc074aad23307e012c3 /synapse/storage/registration.py
parentMerge pull request #6135 from matrix-org/erikj/fixup_devices_last_seen_query (diff)
downloadsynapse-a27fb7d5cac3cacc55a1c778f02d074d4115eea6.tar.xz
Don't repeatedly attempt to censor events we don't have.
Currently we don't set `have_censored` column if we don't have the
target event of a redaction, which means we repeatedly attempt to censor
the same non-existant event.

When we persist non-redacted events we unset the `have_censored` column
for any redactions that target said event.
Diffstat (limited to 'synapse/storage/registration.py')
0 files changed, 0 insertions, 0 deletions