diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-09 15:08:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-09-09 15:08:24 +0100 |
commit | 580f3df9b2573c0278dd952d1478689e5cd23a7b (patch) | |
tree | 8898641211e67ef39187ed306c97147ffc6b4d15 /synapse/storage | |
parent | Default to censoring redactions after seven days (diff) | |
download | synapse-580f3df9b2573c0278dd952d1478689e5cd23a7b.tar.xz |
Fix comments
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/events.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 0da6e0b1a1..ddf7ab6479 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -1559,7 +1559,8 @@ class EventsStore( @defer.inlineCallbacks def _censor_redactions(self): - """Censors all redactions older than a month that haven't been censored. + """Censors all redactions older than the configured period that haven't + been censored yet. By censor we mean update the event_json table with the redacted event. @@ -1575,7 +1576,7 @@ class EventsStore( ) # We fetch all redactions that: - # 1. point to an event we have that has, + # 1. point to an event we have, # 2. has a stream ordering from before the cut off, and # 3. we haven't yet censored. # |