summary refs log tree commit diff
path: root/synapse/http/additional_resource.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-01Use `received_ts` to find uncensored redacted eventsErik Johnston1-14/+7
Joining against `events` and ordering by `stream_ordering` is inefficient as it forced scanning the entirety of the redactions table. This isn't the case if we use `redactions.received_ts` column as we can then use an index.
2019-10-01Add received_ts column to redactions.