mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +03:00
Fix comments
This commit is contained in:
parent
8b9ade8c78
commit
580f3df9b2
1 changed files with 3 additions and 2 deletions
|
@ -1559,7 +1559,8 @@ class EventsStore(
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _censor_redactions(self):
|
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.
|
By censor we mean update the event_json table with the redacted event.
|
||||||
|
|
||||||
|
@ -1575,7 +1576,7 @@ class EventsStore(
|
||||||
)
|
)
|
||||||
|
|
||||||
# We fetch all redactions that:
|
# 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
|
# 2. has a stream ordering from before the cut off, and
|
||||||
# 3. we haven't yet censored.
|
# 3. we haven't yet censored.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue